Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.01104/0.01104, allocations: 176.7 kB / 15.12 MB, free: 5.988 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 2.05/2.05, 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.002744/0.002744, allocations: 112.7 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.3315/0.3315, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006427/0.0006426, allocations: 10.16 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1084, allocations: 54.88 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.245/2.354, allocations: 0.6424 GB / 1.093 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/2.354, allocations: 82.73 kB / 1.093 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3295/2.684, allocations: 111.4 MB / 1.202 GB, free: 76.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.644e-06/2.684, allocations: 0 / 1.202 GB, free: 76.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/2.684, allocations: 0 / 1.202 GB, free: 76.36 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00402/2.688, allocations: 1.06 MB / 1.203 GB, free: 75.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/2.688, allocations: 8.031 kB / 1.203 GB, free: 75.24 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/2.688, allocations: 62.55 kB / 1.203 GB, free: 75.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/2.689, allocations: 79.64 kB / 1.203 GB, free: 75.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/2.689, allocations: 242.7 kB / 1.203 GB, free: 74.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/2.689, allocations: 20.56 kB / 1.203 GB, free: 74.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.832e-05/2.689, allocations: 24 kB / 1.203 GB, free: 74.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/2.69, allocations: 477.5 kB / 1.203 GB, free: 74.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/2.69, allocations: 0 / 1.203 GB, free: 74.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/2.69, allocations: 23.89 kB / 1.204 GB, free: 74.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/2.69, allocations: 8 kB / 1.204 GB, free: 74.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/2.692, allocations: 0.6812 MB / 1.204 GB, free: 73.56 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/2.706, allocations: 5.361 MB / 1.209 GB, free: 67.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/2.707, allocations: 168.5 kB / 1.21 GB, free: 67.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07331/2.78, allocations: 25.62 MB / 1.235 GB, free: 38.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007197/2.781, allocations: 288 kB / 1.235 GB, free: 38.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 3.026e-06/2.781, allocations: 0 / 1.235 GB, free: 38.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.001588/2.783, allocations: 386.2 kB / 1.235 GB, free: 38.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/2.783, allocations: 439.3 kB / 1.236 GB, free: 37.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/2.783, allocations: 169.7 kB / 1.236 GB, free: 37.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/2.783, allocations: 33.7 kB / 1.236 GB, free: 37.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/2.783, allocations: 195.5 kB / 1.236 GB, free: 37.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.145e-05/2.783, allocations: 90.73 kB / 1.236 GB, free: 37.23 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/2.783, allocations: 12 kB / 1.236 GB, free: 37.22 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.909e-05/2.783, allocations: 334.8 kB / 1.236 GB, free: 36.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/2.784, allocations: 60.83 kB / 1.237 GB, free: 36.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/2.784, allocations: 306.8 kB / 1.237 GB, free: 36.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/2.784, allocations: 111.8 kB / 1.237 GB, free: 36.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/2.784, allocations: 4 kB / 1.237 GB, free: 36.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008543/2.785, allocations: 397.1 kB / 1.237 GB, free: 35.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/2.785, allocations: 13.56 kB / 1.237 GB, free: 35.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/2.785, allocations: 8 kB / 1.237 GB, free: 35.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/2.785, allocations: 12 kB / 1.237 GB, free: 35.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/2.786, allocations: 107.8 kB / 1.237 GB, free: 35.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.069e-05/2.786, allocations: 19.92 kB / 1.237 GB, free: 35.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/2.786, allocations: 51.94 kB / 1.238 GB, free: 35.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/2.786, allocations: 35.97 kB / 1.238 GB, free: 35.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * 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.0001669/2.786, allocations: 153.7 kB / 1.238 GB, free: 35.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/2.786, allocations: 23.77 kB / 1.238 GB, free: 35.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/2.788, allocations: 0.8135 MB / 1.238 GB, free: 34.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/2.788, allocations: 4 kB / 1.239 GB, free: 34.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/2.788, allocations: 4 kB / 1.239 GB, free: 34.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/2.788, allocations: 3.984 kB / 1.239 GB, free: 34.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0425/2.83, allocations: 12.09 MB / 1.25 GB, free: 21.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/2.831, allocations: 0 / 1.25 GB, free: 21.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/2.831, allocations: 35.91 kB / 1.25 GB, free: 21.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/2.831, allocations: 4 kB / 1.25 GB, free: 21.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/2.831, allocations: 8 kB / 1.25 GB, free: 21.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/2.831, allocations: 0 / 1.25 GB, free: 21.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/2.831, allocations: 4 kB / 1.25 GB, free: 21.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/2.831, allocations: 485.8 kB / 1.251 GB, free: 20.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/2.832, allocations: 196.2 kB / 1.251 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.527e-05/2.832, allocations: 15.98 kB / 1.251 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/2.832, allocations: 4 kB / 1.251 GB, free: 20.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/2.832, allocations: 23.97 kB / 1.251 GB, free: 20.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/2.832, allocations: 15.92 kB / 1.251 GB, free: 20.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002887/2.832, allocations: 231.2 kB / 1.251 GB, free: 20.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.832, allocations: 0 / 1.251 GB, free: 20.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002096/2.834, allocations: 439.4 kB / 1.252 GB, free: 19.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003537/2.838, allocations: 2.233 MB / 1.254 GB, free: 17.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006285/2.839, allocations: 241 kB / 1.254 GB, free: 17.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/2.839, allocations: 0 / 1.254 GB, free: 17.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/2.839, allocations: 111.8 kB / 1.254 GB, free: 17.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008215/2.84, allocations: 74.91 kB / 1.254 GB, free: 17.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.126/5.966, allocations: 0.741 GB / 1.995 GB, free: 115.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/5.966, allocations: 0.8098 MB / 1.996 GB, free: 114.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006944/5.967, allocations: 149 kB / 1.996 GB, free: 114.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/5.967, allocations: 123.9 kB / 1.996 GB, free: 114.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/5.967, allocations: 1.688 kB / 1.996 GB, free: 114.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05144/6.018, allocations: 16.96 MB / 2.013 GB, free: 113.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/6.019, allocations: 199.9 kB / 2.013 GB, free: 113.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.553/9.571, allocations: 4 kB / 2.013 GB, free: 113.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat