Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001558/0.001558, allocations: 111.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001902/0.001902, allocations: 213.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246.5 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2306/0.2306, allocations: 46.11 MB / 343.8 MB, free: 11.73 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 87.64 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1118, allocations: 62.46 MB / 479.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3747/0.4866, allocations: 153 MB / 0.6178 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.4988, allocations: 10.5 MB / 0.6281 GB, free: 20 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.499, allocations: 0 / 0.6281 GB, free: 20 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003906/0.4994, allocations: 71.67 kB / 0.6281 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007475/0.5069, allocations: 2.817 MB / 0.6309 GB, free: 13.13 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.5073, allocations: 148.4 kB / 0.631 GB, free: 12.99 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.508, allocations: 0.5295 MB / 0.6316 GB, free: 12.46 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.5081, allocations: 16.39 kB / 0.6316 GB, free: 12.44 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003621/0.5084, allocations: 247 kB / 0.6318 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006896/0.5091, allocations: 398.9 kB / 0.6322 GB, free: 11.81 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.5092, allocations: 16 kB / 0.6322 GB, free: 11.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009479/0.5187, allocations: 4.878 MB / 0.637 GB, free: 6.906 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.5189, allocations: 99.69 kB / 0.6371 GB, free: 6.809 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002926/0.5192, allocations: 159.2 kB / 0.6372 GB, free: 6.652 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007912/0.5271, allocations: 2.596 MB / 0.6397 GB, free: 4.051 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.5272, allocations: 0 / 0.6397 GB, free: 4.051 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5272, allocations: 4 kB / 0.6398 GB, free: 4.047 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.5272, allocations: 0 / 0.6398 GB, free: 4.047 MB / 478.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.003056/0.5303, allocations: 1.069 MB / 0.6408 GB, free: 2.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5303, allocations: 12.03 kB / 0.6408 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.095e-05/0.5304, allocations: 70.72 kB / 0.6409 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.5306, allocations: 36.22 kB / 0.6409 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.5309, allocations: 254.6 kB / 0.6412 GB, free: 2.516 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.5311, allocations: 123.5 kB / 0.6413 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.5311, allocations: 28 kB / 0.6413 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000845/0.532, allocations: 0.5678 MB / 0.6419 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.532, allocations: 0 / 0.6419 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.532, allocations: 16 kB / 0.6419 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/0.5321, allocations: 32.48 kB / 0.6419 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.5335, allocations: 1.255 MB / 0.6431 GB, free: 456 kB / 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.002379/0.5359, allocations: 1.977 MB / 0.6451 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006737/0.5366, allocations: 264.8 kB / 0.6453 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.5368, allocations: 110.1 kB / 0.6454 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003176/0.54, allocations: 3.102 MB / 0.6484 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.54, allocations: 42.56 kB / 0.6485 GB, free: 10.26 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 3.636e-06/0.54, allocations: 3.984 kB / 0.6485 GB, free: 10.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001791/0.5418, allocations: 0.7081 MB / 0.6492 GB, free: 9.523 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.5419, allocations: 59.41 kB / 0.6492 GB, free: 9.453 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.5421, allocations: 205.9 kB / 0.6494 GB, free: 9.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.5421, allocations: 33.7 kB / 0.6495 GB, free: 9.203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.5423, allocations: 195.8 kB / 0.6496 GB, free: 9.004 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.5424, allocations: 149.8 kB / 0.6498 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.5426, allocations: 138.1 kB / 0.6499 GB, free: 8.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5427, allocations: 338.8 kB / 0.6502 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.5429, allocations: 105.2 kB / 0.6503 GB, free: 8.273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.5433, allocations: 421.4 kB / 0.6507 GB, free: 7.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.544, allocations: 0.5659 MB / 0.6513 GB, free: 7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.5441, allocations: 8 kB / 0.6513 GB, free: 6.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009778/0.545, allocations: 0.5406 MB / 0.6518 GB, free: 6.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5451, allocations: 16.03 kB / 0.6519 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5451, allocations: 11.69 kB / 0.6519 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.5451, allocations: 16 kB / 0.6519 GB, free: 6.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006613/0.5458, allocations: 200.4 kB / 0.6521 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006754/0.5465, allocations: 1.195 MB / 0.6532 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.5468, allocations: 23.91 kB / 0.6533 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/0.5469, allocations: 55.98 kB / 0.6533 GB, free: 4.891 MB / 494.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.5471, allocations: 181.5 kB / 0.6535 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.714e-05/0.5472, allocations: 23.72 kB / 0.6535 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.5484, allocations: 0.6315 MB / 0.6541 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.5484, allocations: 4 kB / 0.6541 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5485, allocations: 0 / 0.6541 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.5485, allocations: 7.922 kB / 0.6541 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.5495, allocations: 0.8205 MB / 0.6549 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5496, allocations: 0 / 0.6549 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.55, allocations: 99.86 kB / 0.655 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.55, allocations: 0 / 0.655 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.55, allocations: 8 kB / 0.655 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006774/0.5507, allocations: 1.184 MB / 0.6562 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5507, allocations: 0 / 0.6562 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.5512, allocations: 359.2 kB / 0.6565 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5514, allocations: 128.8 kB / 0.6567 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.5514, allocations: 7.938 kB / 0.6567 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.5517, allocations: 18.17 kB / 0.6567 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.5518, allocations: 27.91 kB / 0.6567 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.5518, allocations: 12 kB / 0.6567 GB, free: 1.164 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001724/0.552, allocations: 172.5 kB / 0.6569 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.552, allocations: 0 / 0.6569 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00144/0.5534, allocations: 0.4918 MB / 0.6574 GB, free: 0.5039 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.002609/0.556, allocations: 1.549 MB / 0.6589 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000949/0.557, allocations: 387.8 kB / 0.6593 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.557, allocations: 4 kB / 0.6593 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.5574, allocations: 154.5 kB / 0.6594 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007958/0.5582, allocations: 125.6 kB / 0.6595 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.5713, allocations: 8.925 MB / 0.6682 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.5717, allocations: 0.7699 MB / 0.669 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007658/0.5725, allocations: 202.8 kB / 0.6692 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.5727, allocations: 123.5 kB / 0.6693 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of SimCode: time 1.543e-06/0.5727, allocations: 3.938 kB / 0.6693 GB, free: 3.84 MB / 0.4981 GB [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})).