Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.3 MB, free: 9.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 46.09 MB / 343.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001742, allocations: 81.52 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.162, allocations: 62.45 MB / 479.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.04232/0.2043, allocations: 28.91 MB / 0.4964 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3275/0.5319, allocations: 11.71 MB / 0.5078 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.5321, allocations: 1.188 kB / 0.5078 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.5326, allocations: 71.84 kB / 0.5079 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02462/0.5572, allocations: 7.62 MB / 0.5153 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.5584, allocations: 387.8 kB / 0.5157 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008631/0.5593, allocations: 0.6885 MB / 0.5164 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.45e-05/0.5593, allocations: 14.09 kB / 0.5164 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.5596, allocations: 185.7 kB / 0.5166 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01374/0.5734, allocations: 6.303 MB / 0.5227 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.5735, allocations: 8.375 kB / 0.5227 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02787/0.6014, allocations: 13.76 MB / 0.5362 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.6016, allocations: 88 kB / 0.5362 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.6019, allocations: 142.8 kB / 0.5364 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01951/0.6214, allocations: 6.976 MB / 0.5432 GB, free: 288 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.6215, allocations: 0 / 0.5432 GB, free: 288 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6215, allocations: 4 kB / 0.5432 GB, free: 284 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.6215, allocations: 0 / 0.5432 GB, free: 284 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004447/0.626, allocations: 1.556 MB / 0.5447 GB, free: 14.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.626, allocations: 8.875 kB / 0.5447 GB, free: 14.67 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.471e-05/0.6261, allocations: 73.2 kB / 0.5448 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.6263, allocations: 31.59 kB / 0.5448 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.6266, allocations: 247.7 kB / 0.5451 GB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.6267, allocations: 19.38 kB / 0.5451 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.6267, allocations: 32 kB / 0.5451 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008371/0.6276, allocations: 0.508 MB / 0.5456 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6276, allocations: 0 / 0.5456 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.6276, allocations: 16 kB / 0.5456 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/0.6277, allocations: 28.48 kB / 0.5457 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.6288, allocations: 0.9155 MB / 0.5465 GB, free: 12.75 MB / 398.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.002199/0.631, allocations: 1.908 MB / 0.5484 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/0.6319, allocations: 277.4 kB / 0.5487 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.6321, allocations: 101.5 kB / 0.5488 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02065/0.6527, allocations: 15.69 MB / 0.5641 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005826/0.6533, allocations: 253 kB / 0.5643 GB, free: 7.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.505e-06/0.6534, allocations: 3.844 kB / 0.5643 GB, free: 7.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00266/0.656, allocations: 0.7777 MB / 0.5651 GB, free: 6.582 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.6562, allocations: 269 kB / 0.5654 GB, free: 6.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.6564, allocations: 208.2 kB / 0.5656 GB, free: 6.047 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.6565, allocations: 33.95 kB / 0.5656 GB, free: 6.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.6566, allocations: 205.6 kB / 0.5658 GB, free: 5.805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.6567, allocations: 117.4 kB / 0.5659 GB, free: 5.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.6569, allocations: 126 kB / 0.566 GB, free: 5.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6571, allocations: 334.8 kB / 0.5663 GB, free: 5.227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.6573, allocations: 89.06 kB / 0.5664 GB, free: 5.141 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.6578, allocations: 369.5 kB / 0.5668 GB, free: 4.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.6589, allocations: 0.5072 MB / 0.5673 GB, free: 4.016 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.6589, allocations: 0 / 0.5673 GB, free: 4.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001361/0.6603, allocations: 0.4977 MB / 0.5677 GB, free: 3.512 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.6603, allocations: 12 kB / 0.5678 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.6603, allocations: 8.844 kB / 0.5678 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.6604, allocations: 12 kB / 0.5678 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006456/0.661, allocations: 185 kB / 0.568 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007627/0.6618, allocations: 1.191 MB / 0.5691 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.6621, allocations: 28.12 kB / 0.5691 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.03e-05/0.6622, allocations: 51.98 kB / 0.5692 GB, free: 1.992 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * 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.0001984/0.6624, allocations: 169.5 kB / 0.5694 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.6626, allocations: 31.72 kB / 0.5694 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.6637, allocations: 491.8 kB / 0.5699 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.6637, allocations: 4 kB / 0.5699 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6638, allocations: 0 / 0.5699 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.6638, allocations: 3.984 kB / 0.5699 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009701/0.6647, allocations: 0.6091 MB / 0.5705 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6648, allocations: 0 / 0.5705 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003834/0.6651, allocations: 79.94 kB / 0.5705 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.6652, allocations: 4 kB / 0.5705 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.934e-05/0.6652, allocations: 10.25 kB / 0.5705 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006062/0.6658, allocations: 1.172 MB / 0.5717 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6658, allocations: 7.969 kB / 0.5717 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.6665, allocations: 330 kB / 0.572 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.801e-05/0.6665, allocations: 100.8 kB / 0.5721 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.6666, allocations: 8 kB / 0.5721 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.6669, allocations: 11.98 kB / 0.5721 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.6669, allocations: 27.84 kB / 0.5722 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.6669, allocations: 19.94 kB / 0.5722 GB, free: 14.76 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.6671, allocations: 164.5 kB / 0.5723 GB, free: 14.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6671, allocations: 4 kB / 0.5723 GB, free: 14.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005619/0.6728, allocations: 1.694 MB / 0.574 GB, free: 12.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * 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.01063/0.6834, allocations: 3.087 MB / 0.577 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.6845, allocations: 324.5 kB / 0.5773 GB, free: 9.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6845, allocations: 0 / 0.5773 GB, free: 9.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.6849, allocations: 126.9 kB / 0.5774 GB, free: 9.531 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/0.6857, allocations: 104.3 kB / 0.5775 GB, free: 9.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5163/1.202, allocations: 144.4 MB / 0.7186 GB, free: 206.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/1.202, allocations: 0.7482 MB / 0.7193 GB, free: 205.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000695/1.203, allocations: 144.4 kB / 0.7194 GB, free: 205.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.203, allocations: 99.34 kB / 0.7195 GB, free: 205.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.333e-06/1.203, allocations: 0 / 0.7195 GB, free: 205.7 MB / 0.545 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.Medium.isentropicEnthalpy(202650.0, ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.Medium.ThermodynamicState(101325.0, 298.15, {0.01, 0.99})).