Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008987, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 177.3 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 223.1 MB, free: 5.246 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.407/0.407, allocations: 43.57 MB / 315 MB, free: 9.18 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005162, allocations: 12.56 kB / 384.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1224, allocations: 58.86 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.2924/0.4148, allocations: 28.25 MB / 471.8 MB, free: 34.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.4317, allocations: 13.55 MB / 485.3 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.4323, allocations: 0 / 485.3 MB, free: 26.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005987/0.4329, allocations: 72.08 kB / 485.4 MB, free: 26.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02456/0.4574, allocations: 7 MB / 492.4 MB, free: 23.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008982/0.4584, allocations: 402.1 kB / 492.8 MB, free: 23.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.4592, allocations: 0.6826 MB / 493.5 MB, free: 22.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.4592, allocations: 18.7 kB / 493.5 MB, free: 22.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.4595, allocations: 176.4 kB / 493.7 MB, free: 22.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/0.4697, allocations: 6.297 MB / 500 MB, free: 20.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.959e-05/0.4698, allocations: 8.812 kB / 500 MB, free: 20.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02843/0.4982, allocations: 13.42 MB / 0.5014 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.4984, allocations: 86.06 kB / 0.5014 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002748/0.4987, allocations: 174.3 kB / 0.5016 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02565/0.5244, allocations: 6.746 MB / 0.5082 GB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.5244, allocations: 1.469 kB / 0.5082 GB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5244, allocations: 0 / 0.5082 GB, free: 11.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.5244, allocations: 3.938 kB / 0.5082 GB, free: 11.82 MB / 382.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.006655/0.5311, allocations: 1.453 MB / 0.5096 GB, free: 10.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.5312, allocations: 11.22 kB / 0.5096 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.968e-05/0.5312, allocations: 70.28 kB / 0.5097 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.5314, allocations: 31.16 kB / 0.5097 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.5316, allocations: 247.4 kB / 0.51 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.5317, allocations: 23.3 kB / 0.51 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.5317, allocations: 25.81 kB / 0.51 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.5324, allocations: 0.5096 MB / 0.5105 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.5325, allocations: 3.984 kB / 0.5105 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.5325, allocations: 17.34 kB / 0.5105 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.5325, allocations: 20.91 kB / 0.5106 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.5335, allocations: 0.9162 MB / 0.5115 GB, free: 9.664 MB / 382.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.001598/0.5351, allocations: 1.913 MB / 0.5133 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.5357, allocations: 269.7 kB / 0.5136 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.5359, allocations: 114.8 kB / 0.5137 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01669/0.5526, allocations: 15.74 MB / 0.5291 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000493/0.5531, allocations: 248.5 kB / 0.5293 GB, free: 5.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.5531, allocations: 0 / 0.5293 GB, free: 5.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002198/0.5553, allocations: 0.7843 MB / 0.5301 GB, free: 4.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.5555, allocations: 269 kB / 0.5303 GB, free: 4.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.5557, allocations: 208.9 kB / 0.5305 GB, free: 3.832 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.5558, allocations: 29.7 kB / 0.5305 GB, free: 3.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.5559, allocations: 207.4 kB / 0.5307 GB, free: 3.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.549e-05/0.556, allocations: 126.5 kB / 0.5309 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.5561, allocations: 49.69 kB / 0.5309 GB, free: 3.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5562, allocations: 338.8 kB / 0.5312 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5564, allocations: 93.06 kB / 0.5313 GB, free: 2.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.5569, allocations: 369.3 kB / 0.5317 GB, free: 2.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007164/0.5576, allocations: 0.4995 MB / 0.5322 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.5576, allocations: 4 kB / 0.5322 GB, free: 1.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001145/0.5587, allocations: 0.4971 MB / 0.5327 GB, free: 1.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5588, allocations: 8 kB / 0.5327 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.5588, allocations: 15.94 kB / 0.5327 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.5588, allocations: 12 kB / 0.5327 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.5594, allocations: 176.6 kB / 0.5329 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006566/0.5601, allocations: 1.196 MB / 0.534 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.5604, allocations: 23.91 kB / 0.534 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.5604, allocations: 43.98 kB / 0.5341 GB, free: 15.84 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.0001714/0.5606, allocations: 181.7 kB / 0.5343 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.5608, allocations: 31.72 kB / 0.5343 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000995/0.5618, allocations: 482.1 kB / 0.5347 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.5618, allocations: 7.984 kB / 0.5348 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.5618, allocations: 3.938 kB / 0.5348 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5618, allocations: 3.984 kB / 0.5348 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008763/0.5627, allocations: 0.6022 MB / 0.5354 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5627, allocations: 4.094 kB / 0.5354 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.5631, allocations: 87.86 kB / 0.5354 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.5631, allocations: 4 kB / 0.5354 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.5631, allocations: 11.98 kB / 0.5355 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005415/0.5637, allocations: 1.176 MB / 0.5366 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.5637, allocations: 8.094 kB / 0.5366 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000538/0.5642, allocations: 311.3 kB / 0.5369 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.5643, allocations: 128.7 kB / 0.537 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.5644, allocations: 11.94 kB / 0.537 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.5646, allocations: 19.92 kB / 0.5371 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.5647, allocations: 15.98 kB / 0.5371 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.5647, allocations: 15.98 kB / 0.5371 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.5649, allocations: 172.5 kB / 0.5373 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5649, allocations: 0 / 0.5373 GB, free: 12.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005697/0.5706, allocations: 1.612 MB / 0.5388 GB, free: 10.76 MB / 414.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.01094/0.5815, allocations: 3.029 MB / 0.5418 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.5828, allocations: 329.3 kB / 0.5421 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.5828, allocations: 0 / 0.5421 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.5832, allocations: 126.5 kB / 0.5422 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.5842, allocations: 109.1 kB / 0.5423 GB, free: 7.148 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4324/1.017, allocations: 143.6 MB / 0.6825 GB, free: 124.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/1.017, allocations: 0.7569 MB / 0.6833 GB, free: 123.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006151/1.018, allocations: 141.5 kB / 0.6834 GB, free: 123.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.018, allocations: 101.3 kB / 0.6835 GB, free: 123.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.673e-06/1.018, allocations: 0 / 0.6835 GB, free: 123.7 MB / 494.1 MB [CodegenUtil.tpl:198:14-198: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})).