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.00139/0.00139, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001535/0.001535, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2364/0.2364, allocations: 46.12 MB / 344.2 MB, free: 11.61 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.003901/0.003901, allocations: 85.56 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1751, allocations: 62.46 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4038/0.579, allocations: 155.1 MB / 0.6204 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.5932, allocations: 10.54 MB / 0.6307 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.5935, allocations: 4 kB / 0.6307 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004509/0.594, allocations: 83.48 kB / 0.6308 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009559/0.6035, allocations: 3.048 MB / 0.6337 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.604, allocations: 152.9 kB / 0.6339 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008068/0.6048, allocations: 0.5334 MB / 0.6344 GB, free: 9.695 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.6049, allocations: 12.41 kB / 0.6344 GB, free: 9.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.6053, allocations: 239 kB / 0.6347 GB, free: 9.449 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007406/0.606, allocations: 375 kB / 0.635 GB, free: 9.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.6061, allocations: 19.98 kB / 0.635 GB, free: 9.062 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.617, allocations: 4.656 MB / 0.6396 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.6173, allocations: 103.6 kB / 0.6397 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003816/0.6177, allocations: 151.3 kB / 0.6398 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007849/0.6256, allocations: 2.421 MB / 0.6422 GB, free: 1.723 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.6256, allocations: 0 / 0.6422 GB, free: 1.723 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6257, allocations: 0 / 0.6422 GB, free: 1.723 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.6257, allocations: 0 / 0.6422 GB, free: 1.723 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.002754/0.6284, allocations: 1.065 MB / 0.6432 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.6285, allocations: 12.03 kB / 0.6432 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.649e-05/0.6286, allocations: 70.72 kB / 0.6433 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.6288, allocations: 45.91 kB / 0.6433 GB, free: 488 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.6291, allocations: 246.6 kB / 0.6436 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.6292, allocations: 131.5 kB / 0.6437 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.6293, allocations: 27.98 kB / 0.6437 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000846/0.6301, allocations: 0.5642 MB / 0.6443 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.6302, allocations: 4 kB / 0.6443 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.6302, allocations: 12 kB / 0.6443 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.255e-05/0.6303, allocations: 32.48 kB / 0.6443 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.6317, allocations: 1.251 MB / 0.6456 GB, free: 14.12 MB / 494.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.002466/0.6342, allocations: 1.981 MB / 0.6475 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.6349, allocations: 256.8 kB / 0.6477 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.6351, allocations: 114.1 kB / 0.6478 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0034/0.6385, allocations: 3.118 MB / 0.6509 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.6386, allocations: 37.75 kB / 0.6509 GB, free: 7.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 5.22e-06/0.6386, allocations: 4 kB / 0.6509 GB, free: 7.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.00189/0.6405, allocations: 0.708 MB / 0.6516 GB, free: 7.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.6405, allocations: 55.41 kB / 0.6517 GB, free: 7.121 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.6408, allocations: 205.9 kB / 0.6519 GB, free: 6.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.6408, allocations: 33.7 kB / 0.6519 GB, free: 6.871 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.641, allocations: 195.8 kB / 0.6521 GB, free: 6.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.6411, allocations: 153.8 kB / 0.6522 GB, free: 6.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.6413, allocations: 142.1 kB / 0.6524 GB, free: 6.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.6414, allocations: 334.8 kB / 0.6527 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.6416, allocations: 105.2 kB / 0.6528 GB, free: 5.938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.6421, allocations: 413.4 kB / 0.6532 GB, free: 5.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.6428, allocations: 0.5708 MB / 0.6537 GB, free: 4.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6429, allocations: 4 kB / 0.6537 GB, free: 4.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009973/0.6439, allocations: 0.5508 MB / 0.6543 GB, free: 4.105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.6439, allocations: 12.95 kB / 0.6543 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.6439, allocations: 12 kB / 0.6543 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.6439, allocations: 20 kB / 0.6543 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.6446, allocations: 192.4 kB / 0.6545 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007657/0.6454, allocations: 1.189 MB / 0.6557 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.6457, allocations: 20 kB / 0.6557 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/0.6458, allocations: 60.17 kB / 0.6557 GB, free: 2.562 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.0002229/0.6461, allocations: 181.4 kB / 0.6559 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.6462, allocations: 27.66 kB / 0.6559 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.6475, allocations: 0.6344 MB / 0.6566 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.6475, allocations: 4 kB / 0.6566 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6475, allocations: 0 / 0.6566 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.6475, allocations: 7.922 kB / 0.6566 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.6487, allocations: 0.8178 MB / 0.6574 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6487, allocations: 3.984 kB / 0.6574 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.6492, allocations: 95.88 kB / 0.6575 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.6492, allocations: 4.094 kB / 0.6575 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.6492, allocations: 8 kB / 0.6575 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006936/0.6499, allocations: 1.169 MB / 0.6586 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6499, allocations: 0 / 0.6586 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.6505, allocations: 367.2 kB / 0.659 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.6506, allocations: 120.8 kB / 0.6591 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.6507, allocations: 8 kB / 0.6591 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.6509, allocations: 16.05 kB / 0.6591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.651, allocations: 31.91 kB / 0.6591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.651, allocations: 16 kB / 0.6592 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001841/0.6512, allocations: 172.5 kB / 0.6593 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6512, allocations: 0 / 0.6593 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001562/0.6528, allocations: 0.4996 MB / 0.6598 GB, free: 14.17 MB / 0.4981 GB 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.002811/0.6556, allocations: 1.549 MB / 0.6613 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.6568, allocations: 381.9 kB / 0.6617 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6568, allocations: 4 kB / 0.6617 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004143/0.6572, allocations: 143.8 kB / 0.6618 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/0.6581, allocations: 131.7 kB / 0.662 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.6719, allocations: 8.82 MB / 0.6706 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.6724, allocations: 0.7699 MB / 0.6713 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008012/0.6732, allocations: 206.7 kB / 0.6715 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.6735, allocations: 119.4 kB / 0.6716 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.6735, allocations: 0 / 0.6716 GB, free: 1.609 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})).