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.00114/0.00114, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001207/0.001207, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.09 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 78.59 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1091, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3646/0.4737, allocations: 155.1 MB / 0.6203 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01189/0.4856, allocations: 10.54 MB / 0.6306 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.4859, allocations: 0 / 0.6306 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.4863, allocations: 83.48 kB / 0.6307 GB, free: 13.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007846/0.4942, allocations: 3.04 MB / 0.6337 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.4946, allocations: 164.5 kB / 0.6338 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007223/0.4953, allocations: 0.5256 MB / 0.6343 GB, free: 9.707 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.839e-05/0.4954, allocations: 24.38 kB / 0.6344 GB, free: 9.684 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.4958, allocations: 223.2 kB / 0.6346 GB, free: 9.465 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/0.4966, allocations: 386.9 kB / 0.6349 GB, free: 9.086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.4967, allocations: 23.94 kB / 0.635 GB, free: 9.062 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009542/0.5062, allocations: 4.652 MB / 0.6395 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.5065, allocations: 99.61 kB / 0.6396 GB, free: 4.305 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.5069, allocations: 151.4 kB / 0.6397 GB, free: 4.156 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008197/0.5151, allocations: 2.425 MB / 0.6421 GB, free: 1.727 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5151, allocations: 0 / 0.6421 GB, free: 1.727 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5151, allocations: 0 / 0.6421 GB, free: 1.727 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.5152, allocations: 4 kB / 0.6421 GB, free: 1.723 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.00329/0.5185, allocations: 1.061 MB / 0.6431 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.5185, allocations: 12.03 kB / 0.6432 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001328/0.5187, allocations: 74.72 kB / 0.6432 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/0.519, allocations: 36.22 kB / 0.6433 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.5193, allocations: 246.6 kB / 0.6435 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.5195, allocations: 131.5 kB / 0.6436 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.517e-05/0.5195, allocations: 27.98 kB / 0.6437 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.5204, allocations: 0.5682 MB / 0.6442 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5204, allocations: 0 / 0.6442 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.5205, allocations: 12 kB / 0.6442 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6e-05/0.5205, allocations: 32.42 kB / 0.6443 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.5219, allocations: 1.247 MB / 0.6455 GB, free: 14.13 MB / 494.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.002671/0.5246, allocations: 1.984 MB / 0.6474 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/0.5255, allocations: 267.5 kB / 0.6477 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.5257, allocations: 118.9 kB / 0.6478 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003698/0.5294, allocations: 3.102 MB / 0.6508 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.5295, allocations: 38.56 kB / 0.6508 GB, free: 7.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.425e-06/0.5295, allocations: 0 / 0.6508 GB, free: 7.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.002182/0.5317, allocations: 0.7128 MB / 0.6515 GB, free: 7.203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.5317, allocations: 59.41 kB / 0.6516 GB, free: 7.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.532, allocations: 205.9 kB / 0.6518 GB, free: 6.922 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.513e-05/0.5321, allocations: 41.7 kB / 0.6518 GB, free: 6.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.5322, allocations: 195.8 kB / 0.652 GB, free: 6.676 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.5324, allocations: 149.8 kB / 0.6522 GB, free: 6.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.5326, allocations: 134.1 kB / 0.6523 GB, free: 6.391 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.5329, allocations: 342.8 kB / 0.6526 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.5331, allocations: 101.2 kB / 0.6527 GB, free: 5.949 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.5335, allocations: 413.4 kB / 0.6531 GB, free: 5.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.5343, allocations: 0.5708 MB / 0.6537 GB, free: 4.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.5343, allocations: 8 kB / 0.6537 GB, free: 4.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00104/0.5354, allocations: 0.5442 MB / 0.6542 GB, free: 4.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.5354, allocations: 14.75 kB / 0.6542 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.5354, allocations: 12 kB / 0.6542 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.5355, allocations: 16 kB / 0.6542 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.5362, allocations: 195.7 kB / 0.6544 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007096/0.5369, allocations: 1.192 MB / 0.6556 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.5372, allocations: 23.94 kB / 0.6556 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/0.5373, allocations: 55.98 kB / 0.6557 GB, free: 2.57 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.0002273/0.5376, allocations: 181.5 kB / 0.6558 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.5377, allocations: 23.72 kB / 0.6559 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.539, allocations: 0.63 MB / 0.6565 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.5391, allocations: 7.984 kB / 0.6565 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5391, allocations: 1.75 kB / 0.6565 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.5391, allocations: 0 / 0.6565 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.5403, allocations: 0.8283 MB / 0.6573 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5403, allocations: 4.031 kB / 0.6573 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.5408, allocations: 103.8 kB / 0.6574 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.5408, allocations: 0 / 0.6574 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.5409, allocations: 8 kB / 0.6574 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000623/0.5415, allocations: 1.18 MB / 0.6586 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5415, allocations: 0 / 0.6586 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.542, allocations: 360.2 kB / 0.6589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.5421, allocations: 116.8 kB / 0.659 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.5422, allocations: 4 kB / 0.659 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.5425, allocations: 20.08 kB / 0.659 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.5425, allocations: 31.84 kB / 0.6591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.5426, allocations: 16 kB / 0.6591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001621/0.5427, allocations: 168.5 kB / 0.6592 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5428, allocations: 0 / 0.6592 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001548/0.5443, allocations: 0.4996 MB / 0.6597 GB, free: 14.18 MB / 0.4981 GB 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.00324/0.5476, allocations: 1.543 MB / 0.6612 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001071/0.5486, allocations: 396.6 kB / 0.6616 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.5487, allocations: 0 / 0.6616 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.5491, allocations: 139.8 kB / 0.6618 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.5499, allocations: 126 kB / 0.6619 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/0.5645, allocations: 8.832 MB / 0.6705 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.5649, allocations: 0.7659 MB / 0.6712 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000782/0.5657, allocations: 198.8 kB / 0.6714 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/0.566, allocations: 123.4 kB / 0.6716 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/0.566, allocations: 0 / 0.6716 GB, free: 1.617 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})).