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.001189/0.001188, allocations: 108.6 kB / 17.21 MB, free: 6.289 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.001325/0.001325, allocations: 194 kB / 18.12 MB, free: 5.383 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.382/1.382, allocations: 222.9 MB / 241.8 MB, free: 15.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.2199/0.2199, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001494, allocations: 60.06 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1413, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03914/0.1805, allocations: 28.81 MB / 497.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01736/0.1979, allocations: 11.71 MB / 0.4972 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.1982, allocations: 0 / 0.4972 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.1988, allocations: 75.67 kB / 0.4973 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3385/0.5373, allocations: 7.607 MB / 0.5047 GB, free: 14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.5386, allocations: 394.8 kB / 0.5051 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.5399, allocations: 0.6825 MB / 0.5058 GB, free: 14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.055e-05/0.54, allocations: 17.81 kB / 0.5058 GB, free: 14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.5403, allocations: 181.2 kB / 0.506 GB, free: 14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01447/0.5548, allocations: 6.301 MB / 0.5121 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.555, allocations: 8.125 kB / 0.5121 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02891/0.5839, allocations: 13.74 MB / 0.5255 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.5842, allocations: 86.14 kB / 0.5256 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003374/0.5846, allocations: 144.5 kB / 0.5258 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02773/0.6123, allocations: 6.957 MB / 0.5325 GB, free: 9.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.6124, allocations: 0 / 0.5325 GB, free: 9.676 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6124, allocations: 2 kB / 0.5325 GB, free: 9.676 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.6124, allocations: 4 kB / 0.5326 GB, free: 9.672 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.006179/0.6186, allocations: 1.545 MB / 0.5341 GB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.6186, allocations: 11.34 kB / 0.5341 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.6187, allocations: 67.12 kB / 0.5341 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.619, allocations: 31.16 kB / 0.5342 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.6193, allocations: 254.7 kB / 0.5344 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.6194, allocations: 19.91 kB / 0.5344 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.6194, allocations: 24.56 kB / 0.5344 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/0.6203, allocations: 0.5153 MB / 0.535 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.6204, allocations: 4 kB / 0.535 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.6204, allocations: 9.906 kB / 0.535 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.6205, allocations: 21.98 kB / 0.535 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.6217, allocations: 0.9171 MB / 0.5359 GB, free: 7.965 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.001978/0.6237, allocations: 1.903 MB / 0.5377 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007017/0.6244, allocations: 279.8 kB / 0.538 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.6245, allocations: 101.5 kB / 0.5381 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01943/0.644, allocations: 15.68 MB / 0.5534 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006114/0.6446, allocations: 253.3 kB / 0.5537 GB, free: 2.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=34): time 4.178e-06/0.6447, allocations: 0 / 0.5537 GB, free: 2.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002674/0.6473, allocations: 0.7817 MB / 0.5544 GB, free: 2.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.6475, allocations: 269.1 kB / 0.5547 GB, free: 1.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.6478, allocations: 203.8 kB / 0.5549 GB, free: 1.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.6478, allocations: 34.91 kB / 0.5549 GB, free: 1.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.648, allocations: 197.6 kB / 0.5551 GB, free: 1.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.6481, allocations: 124.6 kB / 0.5552 GB, free: 1.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.6483, allocations: 122 kB / 0.5553 GB, free: 1.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6485, allocations: 334.8 kB / 0.5556 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.6487, allocations: 96.81 kB / 0.5557 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.6492, allocations: 366.9 kB / 0.5561 GB, free: 184 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/0.6501, allocations: 0.5172 MB / 0.5566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.6501, allocations: 4 kB / 0.5566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001336/0.6515, allocations: 498.9 kB / 0.5571 GB, free: 15.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.6515, allocations: 8 kB / 0.5571 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.6515, allocations: 17.8 kB / 0.5571 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/0.6516, allocations: 12 kB / 0.5571 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006664/0.6522, allocations: 179.2 kB / 0.5573 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008099/0.6531, allocations: 1.19 MB / 0.5584 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.6534, allocations: 24.19 kB / 0.5585 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/0.6535, allocations: 47.98 kB / 0.5585 GB, free: 13.63 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.0002162/0.6537, allocations: 176.8 kB / 0.5587 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.654, allocations: 31.72 kB / 0.5587 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.6551, allocations: 492.3 kB / 0.5592 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.6551, allocations: 0 / 0.5592 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6551, allocations: 0 / 0.5592 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6552, allocations: 7.984 kB / 0.5592 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.6562, allocations: 0.6001 MB / 0.5598 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.6562, allocations: 4 kB / 0.5598 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004133/0.6566, allocations: 87.36 kB / 0.5599 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.6567, allocations: 1.203 kB / 0.5599 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.6567, allocations: 11.98 kB / 0.5599 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006561/0.6573, allocations: 1.177 MB / 0.561 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.6574, allocations: 3.375 kB / 0.561 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.658, allocations: 323.5 kB / 0.5613 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6581, allocations: 105.2 kB / 0.5614 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.6582, allocations: 8 kB / 0.5614 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.6585, allocations: 11.98 kB / 0.5615 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.501e-05/0.6585, allocations: 26.81 kB / 0.5615 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.6586, allocations: 20.88 kB / 0.5615 GB, free: 10.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001943/0.6588, allocations: 168.5 kB / 0.5617 GB, free: 10.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6588, allocations: 1.531 kB / 0.5617 GB, free: 10.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006927/0.6657, allocations: 1.679 MB / 0.5633 GB, free: 8.598 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.01324/0.679, allocations: 3.086 MB / 0.5663 GB, free: 5.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.6805, allocations: 319 kB / 0.5666 GB, free: 5.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.6806, allocations: 4.312 kB / 0.5666 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005543/0.6811, allocations: 122.4 kB / 0.5667 GB, free: 5.305 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6822, allocations: 100.6 kB / 0.5668 GB, free: 5.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4829/1.165, allocations: 144.2 MB / 0.7076 GB, free: 198.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/1.165, allocations: 0.7499 MB / 0.7084 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006755/1.166, allocations: 145.9 kB / 0.7085 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/1.166, allocations: 100.6 kB / 0.7086 GB, free: 197.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.242e-06/1.166, allocations: 0.7812 kB / 0.7086 GB, free: 197.9 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})).