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.001069/0.001069, allocations: 104.7 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.001096/0.001096, 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.346/1.346, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2161/0.2161, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 62.78 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.123, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4004/0.5235, allocations: 152.2 MB / 0.607 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.5351, allocations: 10.45 MB / 0.6172 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.5353, allocations: 4 kB / 0.6172 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.5357, allocations: 83.48 kB / 0.6173 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00876/0.5445, allocations: 3.015 MB / 0.6202 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.545, allocations: 171.1 kB / 0.6204 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008416/0.5458, allocations: 0.5257 MB / 0.6209 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/0.5459, allocations: 20.39 kB / 0.6209 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.5463, allocations: 223.2 kB / 0.6211 GB, free: 9.918 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008015/0.5471, allocations: 378.8 kB / 0.6215 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.5472, allocations: 16 kB / 0.6215 GB, free: 9.531 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009454/0.5567, allocations: 4.601 MB / 0.626 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.5569, allocations: 95.73 kB / 0.6261 GB, free: 4.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.5571, allocations: 159.3 kB / 0.6262 GB, free: 4.672 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005692/0.5628, allocations: 2.39 MB / 0.6286 GB, free: 2.277 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.5629, allocations: 0 / 0.6286 GB, free: 2.277 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5629, allocations: 0 / 0.6286 GB, free: 2.277 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.5629, allocations: 4 kB / 0.6286 GB, free: 2.273 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.002516/0.5654, allocations: 1.046 MB / 0.6296 GB, free: 1.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5655, allocations: 12.03 kB / 0.6296 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.28e-05/0.5656, allocations: 78.66 kB / 0.6297 GB, free: 1.082 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001927/0.5658, allocations: 36.22 kB / 0.6297 GB, free: 1.047 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.5661, allocations: 256.5 kB / 0.6299 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.5662, allocations: 127.5 kB / 0.6301 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.5663, allocations: 27.98 kB / 0.6301 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.5671, allocations: 0.5643 MB / 0.6306 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.5671, allocations: 3.984 kB / 0.6306 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.5671, allocations: 15.98 kB / 0.6307 GB, free: 15.97 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.13e-05/0.5672, allocations: 32.48 kB / 0.6307 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.5685, allocations: 1.247 MB / 0.6319 GB, free: 14.69 MB / 478.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.002419/0.571, allocations: 1.984 MB / 0.6338 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.5717, allocations: 263.8 kB / 0.6341 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.5719, allocations: 118 kB / 0.6342 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003049/0.575, allocations: 3.087 MB / 0.6372 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.575, allocations: 38.56 kB / 0.6373 GB, free: 8.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 3.577e-06/0.575, allocations: 0 / 0.6373 GB, free: 8.508 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001888/0.5769, allocations: 0.719 MB / 0.638 GB, free: 7.762 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.577, allocations: 55.41 kB / 0.638 GB, free: 7.695 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.5772, allocations: 202.2 kB / 0.6382 GB, free: 7.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.5772, allocations: 37.7 kB / 0.6382 GB, free: 7.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.708e-05/0.5773, allocations: 187.8 kB / 0.6384 GB, free: 7.258 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.5774, allocations: 157.8 kB / 0.6386 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.5776, allocations: 138.1 kB / 0.6387 GB, free: 6.961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5777, allocations: 338.8 kB / 0.639 GB, free: 6.621 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.5779, allocations: 101.2 kB / 0.6391 GB, free: 6.523 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.5783, allocations: 421.3 kB / 0.6395 GB, free: 5.965 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/0.579, allocations: 0.5694 MB / 0.6401 GB, free: 5.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.579, allocations: 8 kB / 0.6401 GB, free: 5.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009535/0.5799, allocations: 0.5418 MB / 0.6406 GB, free: 4.695 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.58, allocations: 12.06 kB / 0.6406 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.58, allocations: 12 kB / 0.6406 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.58, allocations: 16 kB / 0.6407 GB, free: 4.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.5807, allocations: 201.2 kB / 0.6409 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006202/0.5813, allocations: 1.188 MB / 0.642 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.5816, allocations: 24 kB / 0.642 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/0.5817, allocations: 51.98 kB / 0.6421 GB, free: 3.152 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.000234/0.582, allocations: 181.2 kB / 0.6423 GB, free: 2.969 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.5821, allocations: 27.72 kB / 0.6423 GB, free: 2.941 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.5833, allocations: 0.6391 MB / 0.6429 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.5833, allocations: 8.859 kB / 0.6429 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5833, allocations: 0 / 0.6429 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5834, allocations: 3.984 kB / 0.6429 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.5844, allocations: 0.8318 MB / 0.6437 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5845, allocations: 0 / 0.6437 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/0.5849, allocations: 97.06 kB / 0.6438 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.5849, allocations: 3.984 kB / 0.6438 GB, free: 1.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.585, allocations: 8 kB / 0.6438 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000593/0.5856, allocations: 1.172 MB / 0.645 GB, free: 0 / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5856, allocations: 0 / 0.645 GB, free: 0 / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/0.5862, allocations: 361.8 kB / 0.6453 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.5863, allocations: 124.7 kB / 0.6454 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.5864, allocations: 8.062 kB / 0.6455 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.5867, allocations: 16 kB / 0.6455 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.5867, allocations: 23.91 kB / 0.6455 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.5868, allocations: 19.98 kB / 0.6455 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.587, allocations: 172.5 kB / 0.6457 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.587, allocations: 0 / 0.6457 GB, free: 15.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001688/0.5887, allocations: 487.6 kB / 0.6461 GB, free: 14.77 MB / 494.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.003267/0.5919, allocations: 1.53 MB / 0.6476 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.5931, allocations: 396.6 kB / 0.648 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5931, allocations: 0 / 0.648 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.5935, allocations: 141.4 kB / 0.6481 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008889/0.5944, allocations: 133.2 kB / 0.6483 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.6077, allocations: 8.308 MB / 0.6564 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.6081, allocations: 0.774 MB / 0.6571 GB, free: 3.055 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008143/0.609, allocations: 202.7 kB / 0.6573 GB, free: 2.855 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.6093, allocations: 119.4 kB / 0.6575 GB, free: 2.738 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6093, allocations: 0 / 0.6575 GB, free: 2.738 MB / 494.1 MB [CodegenUtil.tpl:216:14-216: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})).