Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001826/0.001826, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00216/0.00216, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2485/0.2485, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 80.77 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1188, allocations: 62.44 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3654/0.4842, allocations: 155.1 MB / 0.6204 GB, free: 8.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01274/0.497, allocations: 10.54 MB / 0.6307 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.4972, allocations: 0 / 0.6307 GB, free: 13.48 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.4977, allocations: 79.55 kB / 0.6308 GB, free: 13.4 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007624/0.5053, allocations: 3.048 MB / 0.6338 GB, free: 10.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.5057, allocations: 157.4 kB / 0.6339 GB, free: 10.2 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006989/0.5064, allocations: 0.5256 MB / 0.6344 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.345e-05/0.5065, allocations: 20.33 kB / 0.6344 GB, free: 9.648 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.5068, allocations: 231.2 kB / 0.6347 GB, free: 9.422 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006938/0.5075, allocations: 386.9 kB / 0.635 GB, free: 9.043 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.5076, allocations: 16 kB / 0.635 GB, free: 9.027 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008836/0.5164, allocations: 4.652 MB / 0.6396 GB, free: 4.367 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.5166, allocations: 95.62 kB / 0.6397 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.5169, allocations: 155.3 kB / 0.6398 GB, free: 4.121 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005556/0.5224, allocations: 2.425 MB / 0.6422 GB, free: 1.691 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.5225, allocations: 4 kB / 0.6422 GB, free: 1.688 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5225, allocations: 3.938 kB / 0.6422 GB, free: 1.684 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.5225, allocations: 0 / 0.6422 GB, free: 1.684 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.002821/0.5253, allocations: 1.061 MB / 0.6432 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5254, allocations: 12.03 kB / 0.6432 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.14e-05/0.5255, allocations: 70.72 kB / 0.6433 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.5257, allocations: 36.22 kB / 0.6433 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.5261, allocations: 246.6 kB / 0.6436 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.5263, allocations: 135.4 kB / 0.6437 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/0.5264, allocations: 24.05 kB / 0.6437 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/0.5272, allocations: 0.5681 MB / 0.6443 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5273, allocations: 0 / 0.6443 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.5273, allocations: 12 kB / 0.6443 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/0.5274, allocations: 28.48 kB / 0.6443 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.5288, allocations: 1.259 MB / 0.6456 GB, free: 14.09 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.002553/0.5314, allocations: 1.977 MB / 0.6475 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.5321, allocations: 267.7 kB / 0.6477 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.5323, allocations: 122 kB / 0.6479 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003481/0.5358, allocations: 3.106 MB / 0.6509 GB, free: 7.941 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.5359, allocations: 38.55 kB / 0.6509 GB, free: 7.895 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 1.803e-06/0.5359, allocations: 0 / 0.6509 GB, free: 7.895 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001967/0.5378, allocations: 0.7081 MB / 0.6516 GB, free: 7.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.5379, allocations: 63.34 kB / 0.6517 GB, free: 7.086 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.5381, allocations: 205.9 kB / 0.6519 GB, free: 6.875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.5382, allocations: 37.7 kB / 0.6519 GB, free: 6.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.5383, allocations: 187.8 kB / 0.6521 GB, free: 6.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5384, allocations: 153.8 kB / 0.6522 GB, free: 6.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.5386, allocations: 134.1 kB / 0.6524 GB, free: 6.352 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.5388, allocations: 338.8 kB / 0.6527 GB, free: 6.012 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.539, allocations: 105.2 kB / 0.6528 GB, free: 5.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.5394, allocations: 417.3 kB / 0.6532 GB, free: 5.352 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.5402, allocations: 0.5756 MB / 0.6537 GB, free: 4.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5402, allocations: 4 kB / 0.6538 GB, free: 4.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009989/0.5412, allocations: 0.552 MB / 0.6543 GB, free: 4.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5413, allocations: 8 kB / 0.6543 GB, free: 4.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.5413, allocations: 12 kB / 0.6543 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-05/0.5413, allocations: 16.88 kB / 0.6543 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.542, allocations: 191.7 kB / 0.6545 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008568/0.5429, allocations: 1.2 MB / 0.6557 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.5432, allocations: 20 kB / 0.6557 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.5434, allocations: 56.48 kB / 0.6558 GB, free: 2.527 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.0002608/0.5436, allocations: 181.5 kB / 0.6559 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5437, allocations: 23.72 kB / 0.656 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.5451, allocations: 0.6356 MB / 0.6566 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.5451, allocations: 4.062 kB / 0.6566 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.5451, allocations: 4 kB / 0.6566 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.5451, allocations: 0 / 0.6566 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.5464, allocations: 0.8283 MB / 0.6574 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5464, allocations: 0 / 0.6574 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.5468, allocations: 95.88 kB / 0.6575 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5469, allocations: 0 / 0.6575 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.5469, allocations: 8 kB / 0.6575 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006731/0.5476, allocations: 1.18 MB / 0.6586 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.5476, allocations: 0 / 0.6586 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.5481, allocations: 367.2 kB / 0.659 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.5482, allocations: 120.8 kB / 0.6591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.5483, allocations: 4 kB / 0.6591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.5485, allocations: 15.98 kB / 0.6591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.853e-05/0.5486, allocations: 31.89 kB / 0.6592 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.5487, allocations: 15.98 kB / 0.6592 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000174/0.5488, allocations: 168.5 kB / 0.6593 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5488, allocations: 0 / 0.6593 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001619/0.5505, allocations: 0.5035 MB / 0.6598 GB, free: 14.13 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.002679/0.5532, allocations: 1.537 MB / 0.6613 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.5543, allocations: 390.1 kB / 0.6617 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.5543, allocations: 4 kB / 0.6617 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.5547, allocations: 147.7 kB / 0.6618 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008261/0.5556, allocations: 127.2 kB / 0.662 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.5687, allocations: 8.817 MB / 0.6706 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.5691, allocations: 0.7659 MB / 0.6713 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007768/0.5699, allocations: 210.7 kB / 0.6715 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.5702, allocations: 123.4 kB / 0.6716 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of SimCode: time 8.32e-07/0.5702, allocations: 0 / 0.6716 GB, free: 1.574 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})).