Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",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.001827/0.001827, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001678/0.001679, allocations: 194 kB / 18.12 MB, free: 5.363 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.432/1.432, allocations: 222.9 MB / 241.8 MB, free: 15.56 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.232/0.232, allocations: 44.16 MB / 336.1 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 63.62 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1282, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3881/0.5163, allocations: 150 MB / 0.6042 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.5287, allocations: 10.77 MB / 0.6147 GB, free: 352 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.5289, allocations: 4 kB / 0.6147 GB, free: 348 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.5294, allocations: 75.61 kB / 0.6147 GB, free: 272 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007161/0.5366, allocations: 2.677 MB / 0.6174 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.5371, allocations: 155.2 kB / 0.6175 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009659/0.538, allocations: 0.7674 MB / 0.6183 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.303e-05/0.5381, allocations: 16.41 kB / 0.6183 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005973/0.5387, allocations: 215.1 kB / 0.6185 GB, free: 12.44 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008478/0.5396, allocations: 402.8 kB / 0.6189 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.5397, allocations: 8 kB / 0.6189 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009232/0.5489, allocations: 5.119 MB / 0.6239 GB, free: 6.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.5492, allocations: 95.67 kB / 0.624 GB, free: 6.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.5494, allocations: 159.2 kB / 0.6241 GB, free: 6.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006402/0.5558, allocations: 2.561 MB / 0.6266 GB, free: 4.094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5559, allocations: 0 / 0.6266 GB, free: 4.094 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5559, allocations: 11.94 kB / 0.6266 GB, free: 4.082 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.5559, allocations: 0 / 0.6266 GB, free: 4.082 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002731/0.5586, allocations: 1.046 MB / 0.6276 GB, free: 2.988 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5587, allocations: 16.03 kB / 0.6277 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.216e-05/0.5588, allocations: 70.72 kB / 0.6277 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.559, allocations: 36.22 kB / 0.6278 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.5593, allocations: 246.6 kB / 0.628 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.5594, allocations: 129 kB / 0.6281 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.5594, allocations: 32 kB / 0.6282 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007503/0.5602, allocations: 0.5642 MB / 0.6287 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.5602, allocations: 7.938 kB / 0.6287 GB, free: 1.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.5603, allocations: 12 kB / 0.6287 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/0.5603, allocations: 36.42 kB / 0.6288 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.5616, allocations: 1.251 MB / 0.63 GB, free: 0.4961 MB / 462.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.002225/0.5638, allocations: 1.972 MB / 0.6319 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006694/0.5645, allocations: 267.8 kB / 0.6322 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.5647, allocations: 114.1 kB / 0.6323 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002984/0.5677, allocations: 3.099 MB / 0.6353 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.5677, allocations: 42.56 kB / 0.6353 GB, free: 10.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.5677, allocations: 0 / 0.6353 GB, free: 10.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.00177/0.5695, allocations: 0.7182 MB / 0.636 GB, free: 9.566 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.5695, allocations: 55.41 kB / 0.6361 GB, free: 9.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.5697, allocations: 194.3 kB / 0.6363 GB, free: 9.301 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.5698, allocations: 41.7 kB / 0.6363 GB, free: 9.254 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.5699, allocations: 195.8 kB / 0.6365 GB, free: 9.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.57, allocations: 149.8 kB / 0.6366 GB, free: 8.91 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.5702, allocations: 138 kB / 0.6368 GB, free: 8.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5703, allocations: 342.8 kB / 0.6371 GB, free: 8.426 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.5705, allocations: 101.2 kB / 0.6372 GB, free: 8.328 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.5709, allocations: 417.4 kB / 0.6376 GB, free: 7.773 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.5716, allocations: 0.5723 MB / 0.6382 GB, free: 7.055 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.5716, allocations: 0 / 0.6382 GB, free: 7.055 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009432/0.5726, allocations: 0.5455 MB / 0.6387 GB, free: 6.504 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5726, allocations: 18.03 kB / 0.6387 GB, free: 6.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.5726, allocations: 12 kB / 0.6387 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.5727, allocations: 15.98 kB / 0.6387 GB, free: 6.461 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/0.5733, allocations: 192.7 kB / 0.6389 GB, free: 6.273 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006201/0.5739, allocations: 1.192 MB / 0.6401 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.5743, allocations: 23.91 kB / 0.6401 GB, free: 5.012 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.284e-05/0.5744, allocations: 55.98 kB / 0.6402 GB, free: 4.957 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * 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.0001906/0.5746, allocations: 185.4 kB / 0.6403 GB, free: 4.766 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.236e-05/0.5747, allocations: 27.72 kB / 0.6404 GB, free: 4.738 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.5759, allocations: 0.6336 MB / 0.641 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.5759, allocations: 4 kB / 0.641 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5759, allocations: 0 / 0.641 GB, free: 4.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.5759, allocations: 7.984 kB / 0.641 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.577, allocations: 0.8285 MB / 0.6418 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.577, allocations: 3.984 kB / 0.6418 GB, free: 3.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.5775, allocations: 95.88 kB / 0.6419 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5775, allocations: 0 / 0.6419 GB, free: 3.035 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.5775, allocations: 12 kB / 0.6419 GB, free: 3.023 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005213/0.578, allocations: 1.176 MB / 0.6431 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.578, allocations: 0 / 0.6431 GB, free: 1.801 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004486/0.5785, allocations: 358 kB / 0.6434 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.5786, allocations: 120.8 kB / 0.6435 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.5787, allocations: 11.94 kB / 0.6435 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.579, allocations: 11.98 kB / 0.6435 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.579, allocations: 31.84 kB / 0.6436 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.5791, allocations: 16 kB / 0.6436 GB, free: 1.219 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.5792, allocations: 172.5 kB / 0.6437 GB, free: 1.051 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5792, allocations: 0 / 0.6437 GB, free: 1.051 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001481/0.5807, allocations: 495.6 kB / 0.6442 GB, free: 0.5664 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 1 * 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.002745/0.5835, allocations: 1.527 MB / 0.6457 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008434/0.5843, allocations: 368.9 kB / 0.6461 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5844, allocations: 0 / 0.6461 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.5847, allocations: 148.7 kB / 0.6462 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.5855, allocations: 128.7 kB / 0.6463 GB, free: 14.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.5968, allocations: 8.429 MB / 0.6546 GB, free: 5.559 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5972, allocations: 0.762 MB / 0.6553 GB, free: 4.773 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007654/0.5979, allocations: 202.8 kB / 0.6555 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.5982, allocations: 123.3 kB / 0.6556 GB, free: 4.453 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5982, allocations: 4 kB / 0.6556 GB, free: 4.449 MB / 494.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: ModelicaTest.Media.TestAllProperties.MoistAir.Medium.isentropicEnthalpy(202650.0, ModelicaTest.Media.TestAllProperties.MoistAir.Medium.ThermodynamicState(101325.0, 298.15, {0.01, 0.99})).