Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 108 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 193.3 kB / 18.25 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1986/0.1986, allocations: 44.17 MB / 336.2 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 61.88 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1074, allocations: 60.82 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3651/0.4726, allocations: 150.1 MB / 0.6044 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.4836, allocations: 10.41 MB / 0.6145 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.4839, allocations: 4 kB / 0.6145 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.4843, allocations: 79.61 kB / 0.6146 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007514/0.4918, allocations: 2.794 MB / 0.6173 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.4923, allocations: 155.2 kB / 0.6175 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006776/0.493, allocations: 0.5295 MB / 0.618 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.493, allocations: 16.41 kB / 0.618 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.4934, allocations: 231.2 kB / 0.6182 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/0.494, allocations: 402.8 kB / 0.6186 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.4941, allocations: 12 kB / 0.6186 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008441/0.5025, allocations: 4.831 MB / 0.6234 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.5027, allocations: 95.62 kB / 0.6235 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.5029, allocations: 159.3 kB / 0.6236 GB, free: 7.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005642/0.5086, allocations: 2.565 MB / 0.6261 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5086, allocations: 0 / 0.6261 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5087, allocations: 7.938 kB / 0.6261 GB, free: 4.723 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.5087, allocations: 0 / 0.6261 GB, free: 4.723 MB / 462.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.002749/0.5115, allocations: 1.046 MB / 0.6271 GB, free: 3.629 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.5115, allocations: 12.03 kB / 0.6272 GB, free: 3.617 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.592e-05/0.5116, allocations: 74.7 kB / 0.6272 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.5118, allocations: 46.08 kB / 0.6273 GB, free: 3.492 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.5121, allocations: 246.6 kB / 0.6275 GB, free: 3.211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.5123, allocations: 123.5 kB / 0.6276 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.5123, allocations: 28 kB / 0.6276 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.5131, allocations: 0.5643 MB / 0.6282 GB, free: 2.445 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5131, allocations: 0 / 0.6282 GB, free: 2.445 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/0.5132, allocations: 19.98 kB / 0.6282 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.37e-05/0.5132, allocations: 32.42 kB / 0.6282 GB, free: 2.395 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001392/0.5146, allocations: 1.251 MB / 0.6295 GB, free: 1.141 MB / 462.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.002544/0.5172, allocations: 1.984 MB / 0.6314 GB, free: 15.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007603/0.518, allocations: 267.7 kB / 0.6317 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.5182, allocations: 118 kB / 0.6318 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003234/0.5214, allocations: 3.087 MB / 0.6348 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.5215, allocations: 42.56 kB / 0.6348 GB, free: 10.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.964e-06/0.5215, allocations: 0 / 0.6348 GB, free: 10.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001987/0.5235, allocations: 0.7135 MB / 0.6355 GB, free: 10.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.5235, allocations: 55.41 kB / 0.6356 GB, free: 10.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.5238, allocations: 198.3 kB / 0.6358 GB, free: 9.949 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.5238, allocations: 41.62 kB / 0.6358 GB, free: 9.902 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.5239, allocations: 195.8 kB / 0.636 GB, free: 9.707 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.5241, allocations: 157.8 kB / 0.6361 GB, free: 9.551 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.5243, allocations: 134.1 kB / 0.6363 GB, free: 9.414 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5245, allocations: 338.8 kB / 0.6366 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.5247, allocations: 101.2 kB / 0.6367 GB, free: 8.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.5252, allocations: 417.4 kB / 0.6371 GB, free: 8.422 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007085/0.5259, allocations: 0.5702 MB / 0.6376 GB, free: 7.707 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5259, allocations: 0 / 0.6376 GB, free: 7.707 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009947/0.5269, allocations: 0.5561 MB / 0.6382 GB, free: 7.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5269, allocations: 8 kB / 0.6382 GB, free: 7.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5269, allocations: 12.09 kB / 0.6382 GB, free: 7.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.527, allocations: 16 kB / 0.6382 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006741/0.5277, allocations: 195.7 kB / 0.6384 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006438/0.5283, allocations: 1.191 MB / 0.6396 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.5286, allocations: 32.03 kB / 0.6396 GB, free: 5.648 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/0.5287, allocations: 59.97 kB / 0.6397 GB, free: 5.59 MB / 478.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.0001997/0.5289, allocations: 177.5 kB / 0.6398 GB, free: 5.406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.529, allocations: 27.72 kB / 0.6399 GB, free: 5.379 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.5303, allocations: 0.6313 MB / 0.6405 GB, free: 4.715 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.5304, allocations: 4 kB / 0.6405 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5304, allocations: 3.562 kB / 0.6405 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.5304, allocations: 7.984 kB / 0.6405 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.5316, allocations: 0.8285 MB / 0.6413 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5316, allocations: 0 / 0.6413 GB, free: 3.773 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.5321, allocations: 103.8 kB / 0.6414 GB, free: 3.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.5321, allocations: 4 kB / 0.6414 GB, free: 3.668 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.5321, allocations: 11.98 kB / 0.6414 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005527/0.5327, allocations: 1.168 MB / 0.6426 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5327, allocations: 3.938 kB / 0.6426 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.5332, allocations: 358 kB / 0.6429 GB, free: 2.062 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.5333, allocations: 120.8 kB / 0.643 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.5334, allocations: 11.98 kB / 0.643 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.5337, allocations: 8 kB / 0.643 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.5337, allocations: 31.89 kB / 0.6431 GB, free: 1.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.5338, allocations: 15.98 kB / 0.6431 GB, free: 1.859 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.534, allocations: 176.4 kB / 0.6432 GB, free: 1.688 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.534, allocations: 0 / 0.6432 GB, free: 1.688 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001443/0.5354, allocations: 495.6 kB / 0.6437 GB, free: 1.203 MB / 478.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.002864/0.5383, allocations: 1.521 MB / 0.6452 GB, free: 15.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009418/0.5392, allocations: 387 kB / 0.6456 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5393, allocations: 1.812 kB / 0.6456 GB, free: 15.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.5397, allocations: 148.6 kB / 0.6457 GB, free: 15.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/0.5404, allocations: 134.5 kB / 0.6458 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.5528, allocations: 8.433 MB / 0.6541 GB, free: 6.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.5531, allocations: 0.7699 MB / 0.6548 GB, free: 5.383 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007474/0.5539, allocations: 194.8 kB / 0.655 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.5542, allocations: 123.4 kB / 0.6551 GB, free: 5.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.846e-06/0.5542, allocations: 112 / 0.6551 GB, free: 5.07 MB / 494.1 MB [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})).