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.001719/0.001725, allocations: 98.8 kB / 16.26 MB, free: 5.93 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.00196/0.00196, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.434/1.434, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2328/0.2328, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.002922/0.002923, allocations: 69.39 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1375, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03547/0.173, allocations: 27.18 MB / 467.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01766/0.1907, allocations: 13.09 MB / 480.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.191, allocations: 0 / 480.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.1915, allocations: 87.48 kB / 481 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.023/0.2145, allocations: 8.561 MB / 489.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.2156, allocations: 425.4 kB / 490 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.2164, allocations: 486.5 kB / 490.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.129e-05/0.2165, allocations: 20.3 kB / 490.5 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.2169, allocations: 191.3 kB / 490.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/0.2281, allocations: 6.008 MB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.976e-05/0.2282, allocations: 12 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02676/0.255, allocations: 12.88 MB / 0.4976 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.2553, allocations: 91.69 kB / 0.4977 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.2555, allocations: 139.4 kB / 0.4978 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01948/0.275, allocations: 6.585 MB / 0.5042 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.2751, allocations: 0 / 0.5042 GB, free: 10.89 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.2751, allocations: 3.938 kB / 0.5042 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.2751, allocations: 4 kB / 0.5042 GB, free: 10.88 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.005209/0.2803, allocations: 1.529 MB / 0.5057 GB, free: 9.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.2804, allocations: 11.89 kB / 0.5058 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.2805, allocations: 62.55 kB / 0.5058 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.2808, allocations: 31.7 kB / 0.5058 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.2812, allocations: 246.7 kB / 0.5061 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.2812, allocations: 16.56 kB / 0.5061 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.2813, allocations: 28 kB / 0.5061 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2823, allocations: 0.5129 MB / 0.5066 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2823, allocations: 4 kB / 0.5066 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/0.2824, allocations: 15.98 kB / 0.5066 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.2824, allocations: 24.55 kB / 0.5067 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.2837, allocations: 0.9193 MB / 0.5076 GB, free: 7.355 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.002198/0.2859, allocations: 1.902 MB / 0.5094 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007742/0.2867, allocations: 275.3 kB / 0.5097 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.2869, allocations: 105.5 kB / 0.5098 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01872/0.3056, allocations: 15.69 MB / 0.5251 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/0.3061, allocations: 248.2 kB / 0.5253 GB, free: 1.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.995e-06/0.3062, allocations: 0 / 0.5253 GB, free: 1.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002326/0.3085, allocations: 0.7757 MB / 0.5261 GB, free: 1.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.3086, allocations: 270 kB / 0.5264 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.3089, allocations: 206.2 kB / 0.5266 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.3089, allocations: 33.7 kB / 0.5266 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3091, allocations: 203.4 kB / 0.5268 GB, free: 380 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3092, allocations: 126.2 kB / 0.5269 GB, free: 252 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.3094, allocations: 118.1 kB / 0.527 GB, free: 128 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.2391/0.5485, allocations: 330.8 kB / 0.5273 GB, free: 90.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.5489, allocations: 93.39 kB / 0.5274 GB, free: 90.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.5495, allocations: 362.1 kB / 0.5278 GB, free: 90.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.5505, allocations: 0.5053 MB / 0.5283 GB, free: 90.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.5505, allocations: 4.375 kB / 0.5283 GB, free: 90.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001462/0.552, allocations: 0.5048 MB / 0.5288 GB, free: 90.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.552, allocations: 12.72 kB / 0.5288 GB, free: 90.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.552, allocations: 10.59 kB / 0.5288 GB, free: 90.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.82e-05/0.5521, allocations: 12.5 kB / 0.5288 GB, free: 90.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/0.5528, allocations: 182.3 kB / 0.529 GB, free: 90.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004852/0.5533, allocations: 1.186 MB / 0.5301 GB, free: 88.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.5537, allocations: 27.45 kB / 0.5301 GB, free: 88.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-05/0.5538, allocations: 46.44 kB / 0.5302 GB, free: 88.95 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.0002159/0.554, allocations: 170.7 kB / 0.5303 GB, free: 88.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.5543, allocations: 30.03 kB / 0.5304 GB, free: 88.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.5554, allocations: 487.3 kB / 0.5308 GB, free: 88.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5554, allocations: 8.078 kB / 0.5309 GB, free: 88.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5554, allocations: 3.812 kB / 0.5309 GB, free: 88.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5554, allocations: 0 / 0.5309 GB, free: 88.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.5565, allocations: 0.6072 MB / 0.5314 GB, free: 88.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.5565, allocations: 2.719 kB / 0.5314 GB, free: 88.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.557, allocations: 82.91 kB / 0.5315 GB, free: 88.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.557, allocations: 3.031 kB / 0.5315 GB, free: 88.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.557, allocations: 11.91 kB / 0.5315 GB, free: 88.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000392/0.5574, allocations: 1.176 MB / 0.5327 GB, free: 87.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5574, allocations: 4.719 kB / 0.5327 GB, free: 87.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.5581, allocations: 327.4 kB / 0.533 GB, free: 86.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.5582, allocations: 94.36 kB / 0.5331 GB, free: 86.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.5582, allocations: 14.05 kB / 0.5331 GB, free: 86.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.5585, allocations: 11.41 kB / 0.5331 GB, free: 86.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.5585, allocations: 21.88 kB / 0.5331 GB, free: 86.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.5586, allocations: 13.38 kB / 0.5332 GB, free: 86.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.5588, allocations: 171.3 kB / 0.5333 GB, free: 86.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5588, allocations: 0 / 0.5333 GB, free: 86.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006479/0.5653, allocations: 1.621 MB / 0.5349 GB, free: 86.73 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.01183/0.5771, allocations: 3.035 MB / 0.5379 GB, free: 85.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.5791, allocations: 337.4 kB / 0.5382 GB, free: 85.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/0.5791, allocations: 4.188 kB / 0.5382 GB, free: 85.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.5798, allocations: 125.2 kB / 0.5383 GB, free: 85.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5809, allocations: 111.3 kB / 0.5384 GB, free: 85.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1961/0.777, allocations: 143.9 MB / 0.679 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.7774, allocations: 0.7573 MB / 0.6797 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006608/0.778, allocations: 142.3 kB / 0.6799 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.7783, allocations: 103.3 kB / 0.68 GB, free: 14.68 MB / 478.1 MB Notification: Performance of SimCode: time 1.183e-06/0.7783, allocations: 0 / 0.68 GB, free: 14.68 MB / 478.1 MB [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})).