Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_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.0007689/0.0007689, allocations: 93.12 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 204 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2191/0.2191, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 8 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 63.57 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.4349/0.577, allocations: 151 MB / 0.6193 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.589, allocations: 10.71 MB / 0.6298 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.5893, allocations: 0 / 0.6298 GB, free: 2.641 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.5896, allocations: 75.61 kB / 0.6298 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007149/0.5968, allocations: 2.683 MB / 0.6325 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003697/0.5972, allocations: 159.2 kB / 0.6326 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007974/0.598, allocations: 0.7636 MB / 0.6334 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.598, allocations: 12.41 kB / 0.6334 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.5983, allocations: 219.2 kB / 0.6336 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.599, allocations: 410.8 kB / 0.634 GB, free: 14.33 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.599, allocations: 8 kB / 0.634 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008738/0.6078, allocations: 5.17 MB / 0.639 GB, free: 9.145 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.608, allocations: 91.67 kB / 0.6391 GB, free: 9.055 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.6082, allocations: 181 kB / 0.6393 GB, free: 8.871 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00616/0.6144, allocations: 2.6 MB / 0.6418 GB, free: 6.266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6144, allocations: 0 / 0.6418 GB, free: 6.266 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.6144, allocations: 0 / 0.6418 GB, free: 6.266 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.6144, allocations: 0 / 0.6418 GB, free: 6.266 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.00264/0.6171, allocations: 0.9895 MB / 0.6428 GB, free: 5.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.6171, allocations: 16.86 kB / 0.6428 GB, free: 5.215 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.6172, allocations: 66.73 kB / 0.6429 GB, free: 5.141 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.6174, allocations: 40.2 kB / 0.6429 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.6177, allocations: 246.6 kB / 0.6431 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.6179, allocations: 127.5 kB / 0.6433 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.6179, allocations: 35.98 kB / 0.6433 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.6187, allocations: 0.5642 MB / 0.6439 GB, free: 4.043 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.6187, allocations: 0 / 0.6439 GB, free: 4.043 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.6188, allocations: 16 kB / 0.6439 GB, free: 4.027 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.6188, allocations: 40.41 kB / 0.6439 GB, free: 3.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.6202, allocations: 1.243 MB / 0.6451 GB, free: 2.742 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.002423/0.6226, allocations: 1.984 MB / 0.6471 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.6234, allocations: 256 kB / 0.6473 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.6236, allocations: 122 kB / 0.6474 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003462/0.6271, allocations: 3.106 MB / 0.6505 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.6271, allocations: 38.56 kB / 0.6505 GB, free: 12.55 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.6271, allocations: 0 / 0.6505 GB, free: 12.55 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001835/0.629, allocations: 0.7099 MB / 0.6512 GB, free: 11.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.629, allocations: 63.33 kB / 0.6512 GB, free: 11.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.6293, allocations: 205.8 kB / 0.6514 GB, free: 11.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.6293, allocations: 37.64 kB / 0.6515 GB, free: 11.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.6295, allocations: 195.8 kB / 0.6517 GB, free: 11.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.6296, allocations: 149.8 kB / 0.6518 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/0.6297, allocations: 53.69 kB / 0.6519 GB, free: 11.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6298, allocations: 338.8 kB / 0.6522 GB, free: 10.74 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.63, allocations: 105.2 kB / 0.6523 GB, free: 10.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.6305, allocations: 417.4 kB / 0.6527 GB, free: 10.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.6312, allocations: 0.5669 MB / 0.6532 GB, free: 9.363 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.6312, allocations: 4 kB / 0.6532 GB, free: 9.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009329/0.6321, allocations: 0.5513 MB / 0.6538 GB, free: 8.805 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.6321, allocations: 11.94 kB / 0.6538 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.6322, allocations: 12 kB / 0.6538 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.6322, allocations: 16 kB / 0.6538 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.6329, allocations: 191.7 kB / 0.654 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000673/0.6335, allocations: 1.204 MB / 0.6552 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.6339, allocations: 23.94 kB / 0.6552 GB, free: 7.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/0.634, allocations: 51.98 kB / 0.6552 GB, free: 7.254 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.0001986/0.6342, allocations: 181.7 kB / 0.6554 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.6343, allocations: 23.72 kB / 0.6554 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.6355, allocations: 0.63 MB / 0.6561 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.6355, allocations: 8 kB / 0.6561 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.6355, allocations: 0 / 0.6561 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6355, allocations: 3.984 kB / 0.6561 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.6366, allocations: 0.8313 MB / 0.6569 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6366, allocations: 4.062 kB / 0.6569 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.6371, allocations: 99.86 kB / 0.657 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.6371, allocations: 96 / 0.657 GB, free: 5.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.6371, allocations: 12 kB / 0.657 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005759/0.6377, allocations: 1.168 MB / 0.6581 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6377, allocations: 3.984 kB / 0.6581 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004769/0.6382, allocations: 359.4 kB / 0.6585 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.6384, allocations: 136.8 kB / 0.6586 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.6384, allocations: 8 kB / 0.6586 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.6387, allocations: 11.98 kB / 0.6586 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.6388, allocations: 39.78 kB / 0.6587 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.6388, allocations: 15.98 kB / 0.6587 GB, free: 3.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001649/0.639, allocations: 172.4 kB / 0.6588 GB, free: 3.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.639, allocations: 0 / 0.6588 GB, free: 3.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001532/0.6405, allocations: 0.4995 MB / 0.6593 GB, free: 2.832 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.002709/0.6432, allocations: 1.54 MB / 0.6608 GB, free: 1.266 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008607/0.6441, allocations: 373.9 kB / 0.6612 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6441, allocations: 3.938 kB / 0.6612 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.6445, allocations: 144.2 kB / 0.6613 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/0.6454, allocations: 133.3 kB / 0.6615 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.6579, allocations: 8.952 MB / 0.6702 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.6583, allocations: 0.7659 MB / 0.671 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007732/0.6591, allocations: 202.7 kB / 0.6711 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.6594, allocations: 127.3 kB / 0.6713 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.6594, allocations: 0 / 0.6713 GB, free: 6.168 MB / 0.4981 GB [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})).