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.001548/0.001548, allocations: 104.3 kB / 17.63 MB, free: 5.344 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.00172/0.00172, allocations: 192 kB / 18.56 MB, free: 4.434 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.417/1.417, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2126/0.2126, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 61.31 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1079, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3657/0.4737, allocations: 152.2 MB / 0.607 GB, free: 8.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.486, allocations: 10.45 MB / 0.6172 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002604/0.4863, allocations: 0 / 0.6172 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.4868, allocations: 87.48 kB / 0.6172 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008753/0.4956, allocations: 3.017 MB / 0.6202 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.496, allocations: 167.3 kB / 0.6204 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000761/0.4968, allocations: 0.5256 MB / 0.6209 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.4969, allocations: 20.41 kB / 0.6209 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.4973, allocations: 231.1 kB / 0.6211 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000869/0.4982, allocations: 374.9 kB / 0.6215 GB, free: 9.547 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/0.4983, allocations: 12 kB / 0.6215 GB, free: 9.535 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008339/0.5066, allocations: 4.605 MB / 0.626 GB, free: 4.922 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.5069, allocations: 95.73 kB / 0.6261 GB, free: 4.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002361/0.5071, allocations: 155.2 kB / 0.6262 GB, free: 4.676 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005683/0.5128, allocations: 2.397 MB / 0.6286 GB, free: 2.273 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5128, allocations: 0 / 0.6286 GB, free: 2.273 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5128, allocations: 0 / 0.6286 GB, free: 2.273 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.5128, allocations: 0 / 0.6286 GB, free: 2.273 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.002802/0.5157, allocations: 1.046 MB / 0.6296 GB, free: 1.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.5157, allocations: 15.97 kB / 0.6296 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.203e-05/0.5158, allocations: 70.72 kB / 0.6297 GB, free: 1.086 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.516, allocations: 36.22 kB / 0.6297 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.5164, allocations: 250.5 kB / 0.6299 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.5165, allocations: 131.5 kB / 0.6301 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.5166, allocations: 32 kB / 0.6301 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.5174, allocations: 0.5603 MB / 0.6306 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5174, allocations: 0 / 0.6306 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.177e-05/0.5175, allocations: 15.98 kB / 0.6307 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/0.5175, allocations: 36.48 kB / 0.6307 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.5189, allocations: 1.251 MB / 0.6319 GB, free: 14.69 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.002365/0.5213, allocations: 1.98 MB / 0.6338 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006946/0.522, allocations: 259.8 kB / 0.6341 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.5222, allocations: 122 kB / 0.6342 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003117/0.5253, allocations: 3.095 MB / 0.6372 GB, free: 8.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.5254, allocations: 34.56 kB / 0.6373 GB, free: 8.508 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 2.314e-06/0.5254, allocations: 3.938 kB / 0.6373 GB, free: 8.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001889/0.5273, allocations: 0.7189 MB / 0.638 GB, free: 7.758 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.5273, allocations: 55.41 kB / 0.638 GB, free: 7.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.5275, allocations: 198.2 kB / 0.6382 GB, free: 7.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.5275, allocations: 37.7 kB / 0.6382 GB, free: 7.445 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.5277, allocations: 187.8 kB / 0.6384 GB, free: 7.258 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.5278, allocations: 157.8 kB / 0.6386 GB, free: 7.102 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.528, allocations: 138.1 kB / 0.6387 GB, free: 6.961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5281, allocations: 342.8 kB / 0.639 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.5283, allocations: 105.2 kB / 0.6391 GB, free: 6.516 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.5288, allocations: 414.2 kB / 0.6395 GB, free: 5.965 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.5295, allocations: 0.5728 MB / 0.6401 GB, free: 5.246 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.5295, allocations: 4.938 kB / 0.6401 GB, free: 5.242 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009336/0.5304, allocations: 0.5449 MB / 0.6406 GB, free: 4.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.5304, allocations: 8 kB / 0.6406 GB, free: 4.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.5305, allocations: 12 kB / 0.6406 GB, free: 4.672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.5305, allocations: 16 kB / 0.6407 GB, free: 4.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/0.5312, allocations: 204 kB / 0.6409 GB, free: 4.461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000639/0.5318, allocations: 1.188 MB / 0.642 GB, free: 3.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.5322, allocations: 23.98 kB / 0.642 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.5323, allocations: 55.98 kB / 0.6421 GB, free: 3.148 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.000197/0.5325, allocations: 181.7 kB / 0.6423 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.5326, allocations: 27.72 kB / 0.6423 GB, free: 2.934 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.5338, allocations: 0.6351 MB / 0.6429 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5338, allocations: 4 kB / 0.6429 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.5338, allocations: 0 / 0.6429 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5338, allocations: 3.984 kB / 0.6429 GB, free: 2.258 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.535, allocations: 0.8241 MB / 0.6437 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.535, allocations: 0 / 0.6437 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.5355, allocations: 95.97 kB / 0.6438 GB, free: 1.238 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.5355, allocations: 7.984 kB / 0.6438 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.5355, allocations: 8 kB / 0.6438 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006226/0.5361, allocations: 1.172 MB / 0.645 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5362, allocations: 0 / 0.645 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.5367, allocations: 365.8 kB / 0.6453 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5368, allocations: 124.7 kB / 0.6454 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.5369, allocations: 4 kB / 0.6454 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.5372, allocations: 12.81 kB / 0.6455 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.5372, allocations: 31.91 kB / 0.6455 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.5373, allocations: 19.98 kB / 0.6455 GB, free: 15.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.5374, allocations: 168.5 kB / 0.6457 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5374, allocations: 0 / 0.6457 GB, free: 15.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001454/0.5389, allocations: 491.6 kB / 0.6461 GB, free: 14.77 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.002805/0.5417, allocations: 1.533 MB / 0.6476 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.5428, allocations: 398.2 kB / 0.648 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5428, allocations: 0 / 0.648 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004251/0.5433, allocations: 139.8 kB / 0.6481 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/0.5442, allocations: 132.1 kB / 0.6483 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.556, allocations: 8.32 MB / 0.6564 GB, free: 3.844 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.5563, allocations: 0.7701 MB / 0.6571 GB, free: 3.051 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007318/0.5571, allocations: 202.7 kB / 0.6573 GB, free: 2.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.5573, allocations: 123.4 kB / 0.6575 GB, free: 2.73 MB / 494.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5573, allocations: 0 / 0.6575 GB, free: 2.73 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})).