Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_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.0008864/0.0008864, allocations: 94.72 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008989/0.000899, allocations: 170.5 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2022/0.2022, allocations: 44.25 MB / 337.7 MB, free: 2.484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 9.562 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03139/0.1516, allocations: 28.07 MB / 0.4887 GB, free: 1.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.1648, allocations: 11.51 MB / 0.4999 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.1651, allocations: 0 / 0.4999 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1655, allocations: 71.67 kB / 0.5 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2897/0.4552, allocations: 7.592 MB / 0.5074 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.4565, allocations: 390.7 kB / 0.5078 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001445/0.4579, allocations: 0.6796 MB / 0.5085 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.458, allocations: 17.98 kB / 0.5085 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.4584, allocations: 185.4 kB / 0.5087 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/0.4713, allocations: 6.302 MB / 0.5148 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.4715, allocations: 8.094 kB / 0.5148 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02657/0.4981, allocations: 13.74 MB / 0.5282 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.4983, allocations: 96.55 kB / 0.5283 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.4986, allocations: 160.5 kB / 0.5285 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02391/0.5225, allocations: 6.938 MB / 0.5353 GB, free: 9.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5226, allocations: 0 / 0.5353 GB, free: 9.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.5226, allocations: 0 / 0.5353 GB, free: 9.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.5226, allocations: 0 / 0.5353 GB, free: 9.031 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.006375/0.529, allocations: 1.491 MB / 0.5367 GB, free: 8.004 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.529, allocations: 10.12 kB / 0.5367 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.5291, allocations: 61.61 kB / 0.5368 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.5293, allocations: 34.61 kB / 0.5368 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.5296, allocations: 248.1 kB / 0.537 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.5296, allocations: 22.89 kB / 0.5371 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.5296, allocations: 27.94 kB / 0.5371 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007728/0.5304, allocations: 0.5145 MB / 0.5376 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.5304, allocations: 2.062 kB / 0.5376 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.5305, allocations: 13.88 kB / 0.5376 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/0.5305, allocations: 20.77 kB / 0.5376 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009802/0.5315, allocations: 0.9232 MB / 0.5385 GB, free: 7.168 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.001666/0.5332, allocations: 1.904 MB / 0.5404 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.5338, allocations: 269.3 kB / 0.5407 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.534, allocations: 107.6 kB / 0.5408 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01727/0.5512, allocations: 15.74 MB / 0.5561 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.5518, allocations: 247.3 kB / 0.5564 GB, free: 2.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 3.878e-06/0.5518, allocations: 0 / 0.5564 GB, free: 2.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002317/0.5541, allocations: 0.7839 MB / 0.5571 GB, free: 1.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.5543, allocations: 264.1 kB / 0.5574 GB, free: 1.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.5546, allocations: 203.8 kB / 0.5576 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.5546, allocations: 29.7 kB / 0.5576 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.5548, allocations: 198.7 kB / 0.5578 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5549, allocations: 130.1 kB / 0.5579 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.555, allocations: 49.55 kB / 0.558 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5551, allocations: 335.6 kB / 0.5583 GB, free: 240 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.5553, allocations: 93.05 kB / 0.5584 GB, free: 144 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.5559, allocations: 369.8 kB / 0.5587 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008391/0.5567, allocations: 0.5091 MB / 0.5592 GB, free: 15.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.5567, allocations: 4 kB / 0.5592 GB, free: 15.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001249/0.558, allocations: 0.4989 MB / 0.5597 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.558, allocations: 9.531 kB / 0.5597 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.5581, allocations: 12 kB / 0.5597 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.5581, allocations: 15.47 kB / 0.5597 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.5587, allocations: 181.2 kB / 0.5599 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006581/0.5594, allocations: 1.195 MB / 0.5611 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.5597, allocations: 23.91 kB / 0.5611 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.5598, allocations: 47.97 kB / 0.5612 GB, free: 13.11 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.0002067/0.56, allocations: 178.7 kB / 0.5613 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.5602, allocations: 31.72 kB / 0.5614 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.5613, allocations: 480.5 kB / 0.5618 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5613, allocations: 4 kB / 0.5618 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5613, allocations: 0 / 0.5618 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5613, allocations: 0 / 0.5618 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009638/0.5623, allocations: 0.5965 MB / 0.5624 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5623, allocations: 5.688 kB / 0.5624 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.5627, allocations: 83.12 kB / 0.5625 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.5627, allocations: 7.984 kB / 0.5625 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.5627, allocations: 8 kB / 0.5625 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000543/0.5633, allocations: 1.174 MB / 0.5636 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5633, allocations: 7.312 kB / 0.5637 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.5639, allocations: 325.6 kB / 0.564 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.564, allocations: 124.7 kB / 0.5641 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.564, allocations: 11.56 kB / 0.5641 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.5643, allocations: 15.98 kB / 0.5641 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.5643, allocations: 20.98 kB / 0.5641 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.5644, allocations: 16 kB / 0.5641 GB, free: 9.902 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001626/0.5645, allocations: 168.5 kB / 0.5643 GB, free: 9.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.5646, allocations: 0 / 0.5643 GB, free: 9.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005488/0.57, allocations: 1.684 MB / 0.5659 GB, free: 8.055 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.01128/0.5814, allocations: 3.079 MB / 0.569 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.5827, allocations: 326.4 kB / 0.5693 GB, free: 4.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.5828, allocations: 4 kB / 0.5693 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.5833, allocations: 123.1 kB / 0.5694 GB, free: 4.766 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.5843, allocations: 112.1 kB / 0.5695 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4469/1.031, allocations: 143.7 MB / 0.7099 GB, free: 198.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/1.031, allocations: 0.7498 MB / 0.7106 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006261/1.032, allocations: 147.1 kB / 0.7107 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002431/1.032, allocations: 99.17 kB / 0.7108 GB, free: 197.4 MB / 0.5294 GB Notification: Performance of SimCode: time 7.22e-07/1.032, allocations: 3.609 kB / 0.7108 GB, free: 197.4 MB / 0.5294 GB [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})).