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.001236/0.001236, allocations: 104.5 kB / 16.27 MB, free: 5.844 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.001322/0.001322, allocations: 186.1 kB / 17.19 MB, free: 5.496 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.586/1.586, 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.2281/0.2281, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001649/0.00165, allocations: 68.98 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1064, allocations: 57.78 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.034/0.1405, allocations: 27.18 MB / 467.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01667/0.1572, allocations: 13.09 MB / 480.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002838/0.1575, allocations: 4 kB / 480.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005498/0.1581, allocations: 79.55 kB / 481 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02478/0.1829, allocations: 8.572 MB / 489.5 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.1841, allocations: 414.5 kB / 489.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009272/0.185, allocations: 494.4 kB / 490.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.1851, allocations: 20.3 kB / 490.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004209/0.1856, allocations: 191.4 kB / 490.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/0.1964, allocations: 6 MB / 496.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-05/0.1965, allocations: 16 kB / 496.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0269/0.2234, allocations: 12.88 MB / 0.4976 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.2237, allocations: 83.7 kB / 0.4977 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.2241, allocations: 143.4 kB / 0.4978 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0203/0.2444, allocations: 6.593 MB / 0.5042 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.2444, allocations: 0 / 0.5042 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2444, allocations: 0 / 0.5042 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.2445, 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.004658/0.2491, allocations: 1.521 MB / 0.5057 GB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.2492, allocations: 15.89 kB / 0.5057 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.903e-05/0.2493, allocations: 62.53 kB / 0.5058 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.2495, allocations: 31.72 kB / 0.5058 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.2498, allocations: 242.7 kB / 0.5061 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.2498, allocations: 24.56 kB / 0.5061 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.2499, allocations: 27.98 kB / 0.5061 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009792/0.2509, allocations: 0.5129 MB / 0.5066 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.2509, allocations: 8 kB / 0.5066 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.251, allocations: 15.98 kB / 0.5066 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/0.251, allocations: 24.55 kB / 0.5067 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.2522, allocations: 0.9154 MB / 0.5076 GB, free: 7.352 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.002364/0.2545, allocations: 1.902 MB / 0.5094 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007484/0.2553, allocations: 275.6 kB / 0.5097 GB, free: 5.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.2555, allocations: 101.5 kB / 0.5098 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02282/0.2783, allocations: 15.69 MB / 0.5251 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007729/0.2791, allocations: 248.2 kB / 0.5253 GB, free: 1.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 6.492e-06/0.2792, allocations: 0 / 0.5253 GB, free: 1.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003028/0.2822, allocations: 0.7823 MB / 0.5261 GB, free: 1.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/0.2825, allocations: 266 kB / 0.5264 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.2827, allocations: 210.2 kB / 0.5266 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.2828, allocations: 33.7 kB / 0.5266 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2829, allocations: 199.4 kB / 0.5268 GB, free: 380 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.2831, allocations: 126.2 kB / 0.5269 GB, free: 252 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.2832, allocations: 122.1 kB / 0.527 GB, free: 124 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.2238/0.5071, allocations: 334.8 kB / 0.5273 GB, free: 90.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.5074, allocations: 86.33 kB / 0.5274 GB, free: 90.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.508, allocations: 367.8 kB / 0.5278 GB, free: 90.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.5088, allocations: 0.5043 MB / 0.5283 GB, free: 90.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.5089, allocations: 2.25 kB / 0.5283 GB, free: 90.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001416/0.5103, allocations: 0.5074 MB / 0.5288 GB, free: 90.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.5103, allocations: 13.41 kB / 0.5288 GB, free: 90.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.5104, allocations: 9.844 kB / 0.5288 GB, free: 90.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/0.5104, allocations: 11.88 kB / 0.5288 GB, free: 90.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.5111, allocations: 180 kB / 0.529 GB, free: 90.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004447/0.5116, allocations: 1.19 MB / 0.5301 GB, free: 88.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.5119, allocations: 27.42 kB / 0.5301 GB, free: 88.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.512, allocations: 45.77 kB / 0.5302 GB, free: 88.89 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.0001969/0.5122, allocations: 167.3 kB / 0.5304 GB, free: 88.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.5124, allocations: 32.72 kB / 0.5304 GB, free: 88.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.5134, allocations: 482.6 kB / 0.5308 GB, free: 88.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5135, allocations: 5.219 kB / 0.5308 GB, free: 88.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5135, allocations: 2.484 kB / 0.5309 GB, free: 88.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5135, allocations: 3.797 kB / 0.5309 GB, free: 88.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/0.5144, allocations: 0.5988 MB / 0.5314 GB, free: 88.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5144, allocations: 2.344 kB / 0.5314 GB, free: 88.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.5149, allocations: 88.3 kB / 0.5315 GB, free: 88.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.5149, allocations: 4.188 kB / 0.5315 GB, free: 88.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.5149, allocations: 8.953 kB / 0.5315 GB, free: 88.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003308/0.5152, allocations: 1.174 MB / 0.5327 GB, free: 87.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5153, allocations: 2.219 kB / 0.5327 GB, free: 87.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/0.5158, allocations: 334.3 kB / 0.533 GB, free: 86.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.5159, allocations: 97.55 kB / 0.5331 GB, free: 86.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.516, allocations: 11.44 kB / 0.5331 GB, free: 86.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.5162, allocations: 13.28 kB / 0.5331 GB, free: 86.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.5163, allocations: 20.53 kB / 0.5331 GB, free: 86.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.5163, allocations: 17.95 kB / 0.5332 GB, free: 86.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001552/0.5165, allocations: 171.1 kB / 0.5333 GB, free: 86.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5165, allocations: 0 / 0.5333 GB, free: 86.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004259/0.5207, allocations: 1.62 MB / 0.5349 GB, free: 86.68 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.008854/0.5296, allocations: 3.033 MB / 0.5379 GB, free: 85.83 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.531, allocations: 332.8 kB / 0.5382 GB, free: 85.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.5311, allocations: 5.594 kB / 0.5382 GB, free: 85.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004954/0.5316, allocations: 118.7 kB / 0.5383 GB, free: 85.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000813/0.5324, allocations: 120.4 kB / 0.5384 GB, free: 85.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1897/0.7221, allocations: 143.9 MB / 0.679 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.7225, allocations: 0.7611 MB / 0.6797 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006546/0.7231, allocations: 145.5 kB / 0.6799 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.7234, allocations: 103.4 kB / 0.68 GB, free: 14.63 MB / 478.1 MB Notification: Performance of SimCode: time 2.034e-06/0.7234, allocations: 0 / 0.68 GB, free: 14.63 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})).