Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, 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.001651/0.001651, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.4 MB / 246.8 MB, free: 10.55 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.2401/0.2401, 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.003769/0.003769, allocations: 87.09 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1438, allocations: 62.45 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03826/0.1821, allocations: 27.12 MB / 0.4954 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2482/0.4303, allocations: 11.03 MB / 0.5062 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.4306, allocations: 1.375 kB / 0.5062 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.431, allocations: 80.39 kB / 0.5063 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02406/0.4551, allocations: 9.242 MB / 0.5153 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009918/0.4561, allocations: 425 kB / 0.5157 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006382/0.4568, allocations: 495.6 kB / 0.5162 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.252e-05/0.4568, allocations: 19.97 kB / 0.5162 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.4571, allocations: 188.1 kB / 0.5164 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01065/0.4677, allocations: 6.01 MB / 0.5223 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.065e-05/0.4679, allocations: 14.34 kB / 0.5223 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02767/0.4955, allocations: 13.23 MB / 0.5352 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.4958, allocations: 93.78 kB / 0.5353 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003487/0.4961, allocations: 141.5 kB / 0.5354 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01873/0.5149, allocations: 6.8 MB / 0.5421 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5149, allocations: 0 / 0.5421 GB, free: 15.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.5149, allocations: 0 / 0.5421 GB, free: 15.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.5149, allocations: 0 / 0.5421 GB, free: 15.46 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004715/0.5197, allocations: 1.556 MB / 0.5436 GB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5197, allocations: 12.03 kB / 0.5436 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.832e-05/0.5198, allocations: 68.03 kB / 0.5437 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.5201, allocations: 31.72 kB / 0.5437 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.5204, allocations: 249.1 kB / 0.5439 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.5204, allocations: 16.56 kB / 0.5439 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.5205, allocations: 24 kB / 0.544 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008978/0.5214, allocations: 0.5163 MB / 0.5445 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.5214, allocations: 4 kB / 0.5445 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.5215, allocations: 14.19 kB / 0.5445 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/0.5215, allocations: 20.55 kB / 0.5445 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.5227, allocations: 0.9193 MB / 0.5454 GB, free: 11.93 MB / 398.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.002225/0.5249, allocations: 1.906 MB / 0.5473 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.5257, allocations: 272.1 kB / 0.5475 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.5259, allocations: 105.5 kB / 0.5476 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02061/0.5465, allocations: 15.67 MB / 0.5629 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/0.5471, allocations: 255.4 kB / 0.5632 GB, free: 6.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 3.066e-06/0.5472, allocations: 0 / 0.5632 GB, free: 6.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002393/0.5496, allocations: 0.7884 MB / 0.5639 GB, free: 5.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.5498, allocations: 274 kB / 0.5642 GB, free: 5.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.55, allocations: 203.3 kB / 0.5644 GB, free: 5.246 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.55, allocations: 29.7 kB / 0.5644 GB, free: 5.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.5502, allocations: 201.9 kB / 0.5646 GB, free: 5.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5503, allocations: 126 kB / 0.5647 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.5504, allocations: 122.1 kB / 0.5648 GB, free: 4.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5506, allocations: 330.8 kB / 0.5652 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.5508, allocations: 93.05 kB / 0.5653 GB, free: 4.344 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.5513, allocations: 365.6 kB / 0.5656 GB, free: 3.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008465/0.5522, allocations: 0.51 MB / 0.5661 GB, free: 3.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5522, allocations: 0 / 0.5661 GB, free: 3.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001281/0.5535, allocations: 0.5047 MB / 0.5666 GB, free: 2.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.5535, allocations: 12.22 kB / 0.5666 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.5535, allocations: 13.25 kB / 0.5666 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.5536, allocations: 12 kB / 0.5666 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.5543, allocations: 177.9 kB / 0.5668 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008356/0.5551, allocations: 1.199 MB / 0.568 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.5554, allocations: 16 kB / 0.568 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.5555, allocations: 47.98 kB / 0.568 GB, free: 1.195 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * 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.000267/0.5558, allocations: 173.7 kB / 0.5682 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.556, allocations: 35.7 kB / 0.5682 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.5572, allocations: 480.2 kB / 0.5687 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.5572, allocations: 4 kB / 0.5687 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5572, allocations: 0 / 0.5687 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5572, allocations: 4 kB / 0.5687 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.5583, allocations: 0.6017 MB / 0.5693 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.5584, allocations: 4 kB / 0.5693 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.5588, allocations: 86.22 kB / 0.5694 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.5588, allocations: 5.969 kB / 0.5694 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.5588, allocations: 15.98 kB / 0.5694 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006779/0.5595, allocations: 1.172 MB / 0.5705 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5595, allocations: 0 / 0.5705 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.5602, allocations: 335.3 kB / 0.5709 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.5604, allocations: 96.83 kB / 0.5709 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.5604, allocations: 11.92 kB / 0.571 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.5607, allocations: 12 kB / 0.571 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.5607, allocations: 23.91 kB / 0.571 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.5608, allocations: 12 kB / 0.571 GB, free: 13.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.561, allocations: 176.5 kB / 0.5712 GB, free: 13.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.561, allocations: 0 / 0.5712 GB, free: 13.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005407/0.5664, allocations: 1.686 MB / 0.5728 GB, free: 12.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * 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.0102/0.5766, allocations: 3.087 MB / 0.5758 GB, free: 9.156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.5781, allocations: 333.4 kB / 0.5762 GB, free: 8.836 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.5781, allocations: 0.6875 kB / 0.5762 GB, free: 8.836 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.5786, allocations: 131.7 kB / 0.5763 GB, free: 8.707 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.5795, allocations: 108.5 kB / 0.5764 GB, free: 8.605 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4275/1.007, allocations: 144.3 MB / 0.7173 GB, free: 206.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/1.007, allocations: 0.7508 MB / 0.7181 GB, free: 205.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006036/1.008, allocations: 150.4 kB / 0.7182 GB, free: 205.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/1.008, allocations: 99.17 kB / 0.7183 GB, free: 205.5 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/1.008, allocations: 5.125 kB / 0.7183 GB, free: 205.5 MB / 0.545 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.Medium.isentropicEnthalpy(202650.0, ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.Medium.ThermodynamicState(101325.0, 298.15, {0.01, 0.99})).