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.001052/0.001052, allocations: 95.34 kB / 17.35 MB, free: 6.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.001141/0.00114, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.318/1.318, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1989/0.1989, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 10.03 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 61.91 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3761/0.4835, allocations: 148.1 MB / 0.6059 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.4947, allocations: 10.61 MB / 0.6163 GB, free: 3.828 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.4949, allocations: 4 kB / 0.6163 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.4953, allocations: 71.61 kB / 0.6163 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007211/0.5025, allocations: 2.678 MB / 0.6189 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.503, allocations: 158.7 kB / 0.6191 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.5042, allocations: 0.7674 MB / 0.6198 GB, free: 156 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.5043, allocations: 16.41 kB / 0.6199 GB, free: 136 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006254/0.505, allocations: 215.2 kB / 0.6201 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009913/0.506, allocations: 398.8 kB / 0.6205 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.075e-05/0.5061, allocations: 12 kB / 0.6205 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009865/0.5159, allocations: 5.119 MB / 0.6255 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.5162, allocations: 95.61 kB / 0.6256 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003946/0.5167, allocations: 173 kB / 0.6257 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00782/0.5245, allocations: 2.565 MB / 0.6282 GB, free: 7.547 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5245, allocations: 4 kB / 0.6282 GB, free: 7.543 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5245, allocations: 0 / 0.6282 GB, free: 7.543 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.5246, allocations: 0 / 0.6282 GB, free: 7.543 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.002723/0.5273, allocations: 0.9912 MB / 0.6292 GB, free: 6.504 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5273, allocations: 8.031 kB / 0.6292 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.954e-05/0.5274, allocations: 70.72 kB / 0.6293 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.5276, allocations: 40.2 kB / 0.6293 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.5279, allocations: 250.6 kB / 0.6295 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.528, allocations: 123.5 kB / 0.6297 GB, free: 5.949 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.5281, allocations: 35.92 kB / 0.6297 GB, free: 5.914 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007526/0.5289, allocations: 0.5565 MB / 0.6302 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.5289, allocations: 3.938 kB / 0.6302 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.5289, allocations: 20 kB / 0.6303 GB, free: 5.305 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-05/0.529, allocations: 28.48 kB / 0.6303 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.5302, allocations: 1.267 MB / 0.6315 GB, free: 4.008 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.002143/0.5324, allocations: 1.965 MB / 0.6334 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.533, allocations: 263.8 kB / 0.6337 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.5332, allocations: 118 kB / 0.6338 GB, free: 1.512 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002731/0.536, allocations: 3.103 MB / 0.6368 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.536, allocations: 42.5 kB / 0.6369 GB, free: 13.83 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.184e-05/0.536, allocations: 0 / 0.6369 GB, free: 13.83 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001614/0.5376, allocations: 0.7112 MB / 0.6376 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.5377, allocations: 59.39 kB / 0.6376 GB, free: 13.02 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.5379, allocations: 206.2 kB / 0.6378 GB, free: 12.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.5379, allocations: 33.7 kB / 0.6379 GB, free: 12.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.538, allocations: 191.8 kB / 0.638 GB, free: 12.58 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.5381, allocations: 153.8 kB / 0.6382 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.5382, allocations: 53.69 kB / 0.6382 GB, free: 12.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.5383, allocations: 338.8 kB / 0.6386 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5385, allocations: 101.2 kB / 0.6387 GB, free: 11.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.5388, allocations: 417.4 kB / 0.6391 GB, free: 11.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00062/0.5394, allocations: 0.5747 MB / 0.6396 GB, free: 10.65 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5394, allocations: 3.984 kB / 0.6396 GB, free: 10.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008652/0.5403, allocations: 0.5495 MB / 0.6402 GB, free: 10.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5403, allocations: 10.5 kB / 0.6402 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.5404, allocations: 12 kB / 0.6402 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.5404, allocations: 12 kB / 0.6402 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.541, allocations: 195.7 kB / 0.6404 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005239/0.5415, allocations: 1.196 MB / 0.6415 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.5418, allocations: 27.98 kB / 0.6416 GB, free: 8.602 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.5419, allocations: 56.05 kB / 0.6416 GB, free: 8.547 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.0001608/0.5421, allocations: 177.5 kB / 0.6418 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.5422, allocations: 31.81 kB / 0.6418 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.5433, allocations: 0.639 MB / 0.6425 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.5433, allocations: 4 kB / 0.6425 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5433, allocations: 4 kB / 0.6425 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5433, allocations: 3.984 kB / 0.6425 GB, free: 7.648 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.5443, allocations: 0.8246 MB / 0.6433 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5443, allocations: 0 / 0.6433 GB, free: 6.723 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.5447, allocations: 99.86 kB / 0.6434 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5447, allocations: 7.984 kB / 0.6434 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.5447, allocations: 8 kB / 0.6434 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004491/0.5452, allocations: 1.172 MB / 0.6445 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.5452, allocations: 4.031 kB / 0.6445 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.5456, allocations: 361.8 kB / 0.6449 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.5457, allocations: 132.7 kB / 0.645 GB, free: 4.859 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.722e-05/0.5458, allocations: 8 kB / 0.645 GB, free: 4.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.5461, allocations: 19.98 kB / 0.645 GB, free: 4.832 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.5461, allocations: 23.91 kB / 0.645 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.5461, allocations: 23.98 kB / 0.6451 GB, free: 4.785 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.5463, allocations: 168.5 kB / 0.6452 GB, free: 4.621 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5463, allocations: 0 / 0.6452 GB, free: 4.621 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001298/0.5476, allocations: 487.6 kB / 0.6457 GB, free: 4.145 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.002413/0.55, allocations: 1.529 MB / 0.6472 GB, free: 2.582 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007431/0.5508, allocations: 365.5 kB / 0.6475 GB, free: 2.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5508, allocations: 4.062 kB / 0.6475 GB, free: 2.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.5512, allocations: 147.8 kB / 0.6477 GB, free: 2.082 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007977/0.552, allocations: 129.1 kB / 0.6478 GB, free: 1.957 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.5629, allocations: 8.468 MB / 0.6561 GB, free: 9.098 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5633, allocations: 0.7699 MB / 0.6568 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007762/0.5641, allocations: 202.7 kB / 0.657 GB, free: 8.105 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.5643, allocations: 119.4 kB / 0.6571 GB, free: 7.988 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5644, allocations: 0 / 0.6571 GB, free: 7.988 MB / 494.1 MB [CodegenUtil.tpl:198:14-198: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})).