Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 112.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 213.8 kB / 18.27 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.5 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2276/0.2276, allocations: 46.11 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002225, allocations: 80.89 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1248, allocations: 62.45 MB / 479.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03414/0.1589, allocations: 27.28 MB / 0.4951 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2527/0.4117, allocations: 11.07 MB / 0.5059 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002529/0.4121, allocations: 1.531 kB / 0.5059 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005098/0.4126, allocations: 65.83 kB / 0.5059 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0259/0.4385, allocations: 8.36 MB / 0.5141 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.4397, allocations: 405 kB / 0.5145 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007743/0.4405, allocations: 497.6 kB / 0.515 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.734e-05/0.4405, allocations: 18.86 kB / 0.515 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003017/0.4409, allocations: 193.8 kB / 0.5152 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01155/0.4524, allocations: 6.37 MB / 0.5214 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.4526, allocations: 18.77 kB / 0.5214 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02828/0.4809, allocations: 13.43 MB / 0.5345 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000145/0.4811, allocations: 88.23 kB / 0.5346 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.4813, allocations: 150.2 kB / 0.5348 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02093/0.5023, allocations: 6.989 MB / 0.5416 GB, free: 15.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.5023, allocations: 0 / 0.5416 GB, free: 15.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5023, allocations: 0 / 0.5416 GB, free: 15.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.5024, allocations: 0 / 0.5416 GB, free: 15.87 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005513/0.5079, allocations: 1.563 MB / 0.5431 GB, free: 14.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.5079, allocations: 8.031 kB / 0.5431 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.664e-05/0.508, allocations: 71.97 kB / 0.5432 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.5082, allocations: 31.7 kB / 0.5432 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.5086, allocations: 245.5 kB / 0.5434 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.5086, allocations: 20.56 kB / 0.5435 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.5086, allocations: 24 kB / 0.5435 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.5096, allocations: 0.5164 MB / 0.544 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.5096, allocations: 3.938 kB / 0.544 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.5096, allocations: 14.11 kB / 0.544 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.5097, allocations: 20.55 kB / 0.544 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.5109, allocations: 0.9154 MB / 0.5449 GB, free: 12.33 MB / 398.1 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.002318/0.5132, allocations: 1.912 MB / 0.5468 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.514, allocations: 277.8 kB / 0.5471 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.5142, allocations: 101.5 kB / 0.5472 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02022/0.5344, allocations: 15.66 MB / 0.5624 GB, free: 7.273 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000562/0.535, allocations: 253.8 kB / 0.5627 GB, free: 6.992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.535, allocations: 4 kB / 0.5627 GB, free: 6.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002347/0.5374, allocations: 0.7829 MB / 0.5635 GB, free: 6.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.5376, allocations: 273.1 kB / 0.5637 GB, free: 5.859 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.5378, allocations: 203.3 kB / 0.5639 GB, free: 5.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.5378, allocations: 29.7 kB / 0.5639 GB, free: 5.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.538, allocations: 201.4 kB / 0.5641 GB, free: 5.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.5381, allocations: 133.6 kB / 0.5643 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.5383, allocations: 118.1 kB / 0.5644 GB, free: 5.168 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5384, allocations: 330.8 kB / 0.5647 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.5386, allocations: 97.06 kB / 0.5648 GB, free: 4.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.5391, allocations: 361.6 kB / 0.5651 GB, free: 4.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.5399, allocations: 0.5106 MB / 0.5656 GB, free: 3.621 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.54, allocations: 0 / 0.5656 GB, free: 3.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001223/0.5412, allocations: 0.4976 MB / 0.5661 GB, free: 3.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.5412, allocations: 18.59 kB / 0.5661 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.5412, allocations: 8 kB / 0.5661 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.5413, allocations: 12 kB / 0.5661 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.5419, allocations: 183.1 kB / 0.5663 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007522/0.5427, allocations: 1.192 MB / 0.5675 GB, free: 1.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.543, allocations: 27.84 kB / 0.5675 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.5431, allocations: 43.98 kB / 0.5676 GB, free: 1.598 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.5433, allocations: 173.7 kB / 0.5677 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.5435, allocations: 31.09 kB / 0.5678 GB, free: 1.391 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.5446, allocations: 489.1 kB / 0.5682 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.5446, allocations: 4 kB / 0.5682 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5446, allocations: 0 / 0.5682 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.5447, allocations: 3.984 kB / 0.5682 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.5457, allocations: 0.6086 MB / 0.5688 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5457, allocations: 0 / 0.5688 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.5461, allocations: 87.86 kB / 0.5689 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.5461, allocations: 6.766 kB / 0.5689 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.5461, allocations: 8 kB / 0.5689 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006834/0.5468, allocations: 1.176 MB / 0.5701 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5468, allocations: 4.031 kB / 0.5701 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.5475, allocations: 318.8 kB / 0.5704 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.5476, allocations: 104.8 kB / 0.5705 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.5476, allocations: 5.781 kB / 0.5705 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.5479, allocations: 11.98 kB / 0.5705 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.5479, allocations: 35.84 kB / 0.5705 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.548, allocations: 19.12 kB / 0.5705 GB, free: 14.36 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.5481, allocations: 164.5 kB / 0.5707 GB, free: 14.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5481, allocations: 4 kB / 0.5707 GB, free: 14.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005807/0.554, allocations: 1.69 MB / 0.5724 GB, free: 12.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01113/0.5651, allocations: 3.088 MB / 0.5754 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.5666, allocations: 342.4 kB / 0.5757 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.5666, allocations: 0 / 0.5757 GB, free: 9.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.567, allocations: 123.7 kB / 0.5758 GB, free: 9.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008374/0.5679, allocations: 114 kB / 0.5759 GB, free: 9.004 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4538/1.022, allocations: 144.4 MB / 0.7169 GB, free: 206.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/1.022, allocations: 0.7548 MB / 0.7177 GB, free: 205.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006989/1.023, allocations: 139 kB / 0.7178 GB, free: 205.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/1.023, allocations: 98.86 kB / 0.7179 GB, free: 205.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.21e-07/1.023, allocations: 1.969 kB / 0.7179 GB, free: 205.6 MB / 0.545 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.Medium.isentropicEnthalpy(202650.0, ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.Medium.ThermodynamicState(101325.0, 298.15, {0.01, 0.99})).