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.001352/0.001352, allocations: 115.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3169/0.3169, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 76.73 kB / 417.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1181, allocations: 62.45 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3699/0.488, allocations: 153 MB / 0.6177 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01766/0.5057, allocations: 10.51 MB / 0.628 GB, free: 96 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.5061, allocations: 0 / 0.628 GB, free: 96 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.5068, allocations: 75.62 kB / 0.6281 GB, free: 20 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.5188, allocations: 2.813 MB / 0.6308 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.5193, allocations: 149.4 kB / 0.631 GB, free: 13.06 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.5204, allocations: 0.5295 MB / 0.6315 GB, free: 12.53 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.5205, allocations: 20.39 kB / 0.6315 GB, free: 12.51 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005445/0.521, allocations: 243.1 kB / 0.6317 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.5221, allocations: 402.9 kB / 0.6321 GB, free: 11.88 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.5222, allocations: 12 kB / 0.6321 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01172/0.5339, allocations: 4.88 MB / 0.6369 GB, free: 6.984 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.5342, allocations: 99.69 kB / 0.637 GB, free: 6.887 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.5345, allocations: 163.2 kB / 0.6371 GB, free: 6.727 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007607/0.5421, allocations: 2.596 MB / 0.6397 GB, free: 4.125 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5422, allocations: 0 / 0.6397 GB, free: 4.125 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5422, allocations: 0 / 0.6397 GB, free: 4.125 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.5422, allocations: 0 / 0.6397 GB, free: 4.125 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.003863/0.5461, allocations: 1.073 MB / 0.6407 GB, free: 3.004 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.5461, allocations: 8.031 kB / 0.6407 GB, free: 2.996 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.5463, allocations: 70.72 kB / 0.6408 GB, free: 2.918 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.5466, allocations: 36.22 kB / 0.6408 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.547, allocations: 246.6 kB / 0.6411 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000195/0.5472, allocations: 131.5 kB / 0.6412 GB, free: 2.449 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.5473, allocations: 31.94 kB / 0.6412 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.5485, allocations: 0.5642 MB / 0.6418 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.5486, allocations: 3.938 kB / 0.6418 GB, free: 1.82 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.5486, allocations: 16 kB / 0.6418 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/0.5487, allocations: 32.47 kB / 0.6418 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.5508, allocations: 1.259 MB / 0.6431 GB, free: 0.5117 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.003736/0.5546, allocations: 1.973 MB / 0.645 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.5556, allocations: 260 kB / 0.6452 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.5559, allocations: 114.1 kB / 0.6453 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00347/0.5594, allocations: 3.106 MB / 0.6484 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.5594, allocations: 34.56 kB / 0.6484 GB, free: 10.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 1.963e-06/0.5595, allocations: 0 / 0.6484 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001908/0.5614, allocations: 0.7206 MB / 0.6491 GB, free: 9.594 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.5614, allocations: 55.41 kB / 0.6492 GB, free: 9.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.5616, allocations: 209.9 kB / 0.6494 GB, free: 9.312 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.5617, allocations: 33.7 kB / 0.6494 GB, free: 9.273 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.5618, allocations: 191.8 kB / 0.6496 GB, free: 9.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.5619, allocations: 149.8 kB / 0.6497 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001533/0.5621, allocations: 138.1 kB / 0.6499 GB, free: 8.789 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5622, allocations: 342.8 kB / 0.6502 GB, free: 8.445 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.5624, allocations: 101.2 kB / 0.6503 GB, free: 8.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.5628, allocations: 417.4 kB / 0.6507 GB, free: 7.789 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000699/0.5635, allocations: 0.5669 MB / 0.6512 GB, free: 7.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.5636, allocations: 4 kB / 0.6512 GB, free: 7.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009589/0.5645, allocations: 0.5482 MB / 0.6518 GB, free: 6.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.5646, allocations: 14.59 kB / 0.6518 GB, free: 6.504 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.5646, allocations: 15.98 kB / 0.6518 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.5646, allocations: 16 kB / 0.6518 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.5654, allocations: 191.7 kB / 0.652 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007891/0.5662, allocations: 1.196 MB / 0.6532 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.5666, allocations: 27.91 kB / 0.6532 GB, free: 5.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5667, allocations: 55.98 kB / 0.6532 GB, free: 4.961 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.0002565/0.567, allocations: 173.5 kB / 0.6534 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.5671, allocations: 27.72 kB / 0.6534 GB, free: 4.754 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.5686, allocations: 0.6379 MB / 0.6541 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.5686, allocations: 4 kB / 0.6541 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.5686, allocations: 0 / 0.6541 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.5686, allocations: 9.297 kB / 0.6541 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.57, allocations: 0.8205 MB / 0.6549 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.57, allocations: 0 / 0.6549 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.5705, allocations: 99.86 kB / 0.655 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.507e-06/0.5706, allocations: 4 kB / 0.655 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.5706, allocations: 8 kB / 0.655 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005861/0.5712, allocations: 1.184 MB / 0.6561 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5712, allocations: 4.031 kB / 0.6561 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004866/0.5717, allocations: 355.3 kB / 0.6565 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.5718, allocations: 120.8 kB / 0.6566 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.5719, allocations: 11.94 kB / 0.6566 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.5722, allocations: 15.97 kB / 0.6566 GB, free: 1.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.5723, allocations: 31.84 kB / 0.6566 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.5723, allocations: 12 kB / 0.6567 GB, free: 1.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.5725, allocations: 176.5 kB / 0.6568 GB, free: 1.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5725, allocations: 4 kB / 0.6568 GB, free: 1.055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002352/0.5749, allocations: 0.4918 MB / 0.6573 GB, free: 0.5625 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.003585/0.5785, allocations: 1.529 MB / 0.6588 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.5796, allocations: 392.5 kB / 0.6592 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5796, allocations: 0 / 0.6592 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004149/0.58, allocations: 152.5 kB / 0.6593 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.5809, allocations: 127.2 kB / 0.6594 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.5932, allocations: 8.921 MB / 0.6682 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.5935, allocations: 0.7699 MB / 0.6689 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007743/0.5943, allocations: 202.9 kB / 0.6691 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.5946, allocations: 127.4 kB / 0.6692 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of SimCode: time 1.784e-06/0.5946, allocations: 3.938 kB / 0.6692 GB, free: 3.91 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})).