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.001149/0.001149, allocations: 104.9 kB / 17.63 MB, free: 5.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.001064/0.001064, allocations: 192 kB / 18.56 MB, free: 4.434 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.41/1.41, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2166/0.2166, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 61.22 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1167, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03642/0.1532, allocations: 27.02 MB / 496.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01447/0.1677, allocations: 11.02 MB / 0.4955 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.1679, allocations: 4 kB / 0.4955 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.1684, allocations: 75.56 kB / 0.4956 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2706/0.4391, allocations: 9.231 MB / 0.5046 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.4411, allocations: 422.7 kB / 0.505 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.4423, allocations: 491.8 kB / 0.5055 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4425, allocations: 16.64 kB / 0.5055 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006453/0.4431, allocations: 189.8 kB / 0.5057 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01816/0.4613, allocations: 6.012 MB / 0.5115 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002329/0.4616, allocations: 14.22 kB / 0.5116 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03571/0.4974, allocations: 13.21 MB / 0.5245 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.4976, allocations: 86.53 kB / 0.5245 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003179/0.4979, allocations: 147 kB / 0.5247 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01808/0.516, allocations: 6.786 MB / 0.5313 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.5161, allocations: 0 / 0.5313 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5161, allocations: 0 / 0.5313 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.5161, allocations: 0 / 0.5313 GB, free: 10.8 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.005886/0.522, allocations: 1.547 MB / 0.5328 GB, free: 9.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5221, allocations: 12.28 kB / 0.5328 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.221e-05/0.5221, allocations: 69.45 kB / 0.5329 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.5224, allocations: 34.33 kB / 0.5329 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.5226, allocations: 243.5 kB / 0.5332 GB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5226, allocations: 15.78 kB / 0.5332 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.5227, allocations: 24.22 kB / 0.5332 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.5235, allocations: 0.5158 MB / 0.5337 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.5235, allocations: 1.594 kB / 0.5337 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.5236, allocations: 17.27 kB / 0.5337 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-05/0.5236, allocations: 24.3 kB / 0.5338 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.5246, allocations: 0.9227 MB / 0.5347 GB, free: 8.691 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.001709/0.5263, allocations: 1.902 MB / 0.5365 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/0.527, allocations: 268.6 kB / 0.5368 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.5271, allocations: 101.5 kB / 0.5369 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01785/0.545, allocations: 15.69 MB / 0.5522 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/0.5456, allocations: 248.9 kB / 0.5524 GB, free: 3.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 3.948e-06/0.5456, allocations: 0 / 0.5524 GB, free: 3.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002552/0.5482, allocations: 0.7879 MB / 0.5532 GB, free: 2.984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.5483, allocations: 264.1 kB / 0.5534 GB, free: 2.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.5486, allocations: 199.8 kB / 0.5536 GB, free: 2.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.5486, allocations: 33.7 kB / 0.5537 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.5488, allocations: 198 kB / 0.5539 GB, free: 2.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5489, allocations: 124.9 kB / 0.554 GB, free: 2.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.5491, allocations: 126 kB / 0.5541 GB, free: 1.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5493, allocations: 338.8 kB / 0.5544 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.5495, allocations: 93.05 kB / 0.5545 GB, free: 1.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004816/0.55, allocations: 371.7 kB / 0.5549 GB, free: 1.066 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008773/0.5508, allocations: 0.5061 MB / 0.5554 GB, free: 484 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.5509, allocations: 4 kB / 0.5554 GB, free: 480 kB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001252/0.5521, allocations: 0.4998 MB / 0.5558 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5522, allocations: 8 kB / 0.5559 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.5522, allocations: 12 kB / 0.5559 GB, free: 0 / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.014e-05/0.5522, allocations: 13.36 kB / 0.5559 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.5529, allocations: 174.4 kB / 0.556 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007042/0.5536, allocations: 1.195 MB / 0.5572 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.554, allocations: 20 kB / 0.5572 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.554, allocations: 43.98 kB / 0.5573 GB, free: 14.53 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.0002206/0.5543, allocations: 171.7 kB / 0.5574 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.5545, allocations: 35.7 kB / 0.5575 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.5556, allocations: 483.8 kB / 0.5579 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.5556, allocations: 5.219 kB / 0.5579 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5556, allocations: 0 / 0.5579 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5556, allocations: 4.031 kB / 0.5579 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5567, allocations: 0.6088 MB / 0.5585 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5567, allocations: 1.203 kB / 0.5585 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.5571, allocations: 84.41 kB / 0.5586 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.5571, allocations: 8.969 kB / 0.5586 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.5572, allocations: 11.98 kB / 0.5586 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005195/0.5577, allocations: 1.172 MB / 0.5598 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5577, allocations: 4.031 kB / 0.5598 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.5583, allocations: 326.7 kB / 0.5601 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.5584, allocations: 92.92 kB / 0.5602 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.5585, allocations: 15.89 kB / 0.5602 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.5587, allocations: 8 kB / 0.5602 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.5588, allocations: 31.91 kB / 0.5602 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.5588, allocations: 14.98 kB / 0.5603 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.559, allocations: 168.5 kB / 0.5604 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.559, allocations: 0 / 0.5604 GB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00571/0.5647, allocations: 1.683 MB / 0.5621 GB, free: 9.488 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.0103/0.575, allocations: 3.084 MB / 0.5651 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.5764, allocations: 339.2 kB / 0.5654 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.5764, allocations: 0 / 0.5654 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.5769, allocations: 125.2 kB / 0.5655 GB, free: 6.172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.5777, allocations: 106.8 kB / 0.5656 GB, free: 6.074 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4405/1.018, allocations: 144.1 MB / 0.7063 GB, free: 199.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/1.019, allocations: 0.7558 MB / 0.7071 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007611/1.019, allocations: 149.5 kB / 0.7072 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/1.02, allocations: 99.12 kB / 0.7073 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/1.02, allocations: 3.672 kB / 0.7073 GB, free: 199.2 MB / 0.5294 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})).