Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00957/0.009575, allocations: 176.1 kB / 15.12 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.988/1.988, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002078/0.002078, allocations: 120.6 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2671/0.2671, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004847, allocations: 11.72 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.106, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.236, allocations: 311.3 MB / 0.7544 GB, free: 123.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.237, allocations: 94.27 kB / 0.7544 GB, free: 123.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3458/1.583, allocations: 96.73 MB / 0.8489 GB, free: 58.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.583, allocations: 0 / 0.8489 GB, free: 58.87 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.235e-05/1.583, allocations: 15.94 kB / 0.8489 GB, free: 58.86 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002277/1.585, allocations: 0.8865 MB / 0.8498 GB, free: 57.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.585, allocations: 8.031 kB / 0.8498 GB, free: 57.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/1.585, allocations: 78.52 kB / 0.8499 GB, free: 57.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/1.586, allocations: 55.44 kB / 0.8499 GB, free: 57.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/1.587, allocations: 485.2 kB / 0.8504 GB, free: 57.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/1.587, allocations: 24.56 kB / 0.8504 GB, free: 57.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/1.587, allocations: 27.98 kB / 0.8504 GB, free: 57.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.588, allocations: 0.5193 MB / 0.8509 GB, free: 56.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/1.588, allocations: 3.953 kB / 0.8509 GB, free: 56.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.061e-05/1.588, allocations: 15.98 kB / 0.851 GB, free: 56.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/1.588, allocations: 28.55 kB / 0.851 GB, free: 56.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009939/1.589, allocations: 442 kB / 0.8514 GB, free: 56.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/1.594, allocations: 2.262 MB / 0.8536 GB, free: 53.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/1.594, allocations: 202.6 kB / 0.8538 GB, free: 53.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.596, allocations: 1.002 MB / 0.8548 GB, free: 52.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/1.596, allocations: 141 kB / 0.8549 GB, free: 52.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/1.596, allocations: 0 / 0.8549 GB, free: 52.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007525/1.597, allocations: 367.1 kB / 0.8553 GB, free: 51.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/1.597, allocations: 166.2 kB / 0.8554 GB, free: 51.67 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006894/1.598, allocations: 441 kB / 0.8559 GB, free: 51.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/1.598, allocations: 25.7 kB / 0.8559 GB, free: 51.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/1.598, allocations: 307 kB / 0.8562 GB, free: 50.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.434e-05/1.598, allocations: 47.44 kB / 0.8562 GB, free: 50.85 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/1.598, allocations: 12 kB / 0.8562 GB, free: 50.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/1.598, allocations: 350.8 kB / 0.8566 GB, free: 50.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/1.599, allocations: 108.8 kB / 0.8567 GB, free: 50.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/1.599, allocations: 326.3 kB / 0.857 GB, free: 49.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/1.599, allocations: 210.2 kB / 0.8572 GB, free: 49.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.599, allocations: 4 kB / 0.8572 GB, free: 49.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001056/1.6, allocations: 0.4895 MB / 0.8577 GB, free: 49.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000581/1.601, allocations: 2.818 MB / 0.8604 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.601, allocations: 8 kB / 0.8604 GB, free: 46.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.301e-05/1.601, allocations: 19.94 kB / 0.8604 GB, free: 46.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/1.602, allocations: 83.89 kB / 0.8605 GB, free: 46.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/1.602, allocations: 23.86 kB / 0.8605 GB, free: 46.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/1.603, allocations: 63.42 kB / 0.8606 GB, free: 46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/1.603, allocations: 27.98 kB / 0.8606 GB, free: 45.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.603, allocations: 4 kB / 0.8606 GB, free: 45.97 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009575/1.604, allocations: 457.6 kB / 0.8611 GB, free: 45.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.604, allocations: 8 kB / 0.8611 GB, free: 45.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.604, allocations: 11.95 kB / 0.8611 GB, free: 45.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/1.604, allocations: 87.83 kB / 0.8612 GB, free: 45.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/1.604, allocations: 8 kB / 0.8612 GB, free: 45.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/1.605, allocations: 47.67 kB / 0.8612 GB, free: 45.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/1.605, allocations: 24.09 kB / 0.8612 GB, free: 45.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004188/1.605, allocations: 314.6 kB / 0.8615 GB, free: 45.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.592e-05/1.605, allocations: 47.47 kB / 0.8616 GB, free: 44.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007183/1.606, allocations: 293.3 kB / 0.8619 GB, free: 44.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.606, allocations: 0 / 0.8619 GB, free: 44.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.606, allocations: 4 kB / 0.8619 GB, free: 44.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.606, allocations: 0 / 0.8619 GB, free: 44.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/1.607, allocations: 381.3 kB / 0.8622 GB, free: 44.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.607, allocations: 4 kB / 0.8622 GB, free: 44.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/1.607, allocations: 15.98 kB / 0.8623 GB, free: 44.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.607, allocations: 3.953 kB / 0.8623 GB, free: 44.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/1.607, allocations: 4 kB / 0.8623 GB, free: 44.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.607, allocations: 4 kB / 0.8623 GB, free: 44.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.607, allocations: 0 / 0.8623 GB, free: 44.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/1.608, allocations: 298 kB / 0.8626 GB, free: 43.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/1.608, allocations: 128.5 kB / 0.8627 GB, free: 43.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/1.608, allocations: 4 kB / 0.8627 GB, free: 43.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/1.608, allocations: 15.98 kB / 0.8627 GB, free: 43.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/1.608, allocations: 8 kB / 0.8627 GB, free: 43.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/1.608, allocations: 7.984 kB / 0.8627 GB, free: 43.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000546/1.609, allocations: 334.9 kB / 0.863 GB, free: 43.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.609, allocations: 4 kB / 0.863 GB, free: 43.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001957/1.611, allocations: 459.3 kB / 0.8635 GB, free: 42.94 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002416/1.613, allocations: 1.224 MB / 0.8647 GB, free: 41.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/1.615, allocations: 0.6293 MB / 0.8653 GB, free: 41.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.615, allocations: 4 kB / 0.8653 GB, free: 41.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/1.615, allocations: 159.3 kB / 0.8654 GB, free: 40.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.616, allocations: 139.2 kB / 0.8656 GB, free: 40.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/1.621, allocations: 6.321 MB / 0.8717 GB, free: 34.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/1.621, allocations: 0.8623 MB / 0.8726 GB, free: 33.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009049/1.622, allocations: 147.1 kB / 0.8727 GB, free: 33.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/1.622, allocations: 147.4 kB / 0.8729 GB, free: 33.03 MB / 490.7 MB Notification: Performance of SimCode: time 2.031e-05/1.622, allocations: 0 / 0.8729 GB, free: 33.03 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06416/1.687, allocations: 14.27 MB / 0.8868 GB, free: 18.83 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003499/1.687, allocations: 226.9 kB / 0.887 GB, free: 18.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/4.756, allocations: 7.938 kB / 0.887 GB, free: 18.58 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat