Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 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.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_trunk_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.0009434/0.0009435, allocations: 94.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 201.9 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.7 MB / 246.8 MB, free: 9.562 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2378/0.2378, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1365, allocations: 63.57 MB / 483.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03454/0.1711, allocations: 28.16 MB / 0.4994 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3012/0.4723, allocations: 11.51 MB / 0.5106 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002973/0.4727, allocations: 0.8438 kB / 0.5106 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.4732, allocations: 71.95 kB / 0.5107 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02527/0.4984, allocations: 7.603 MB / 0.5181 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.4994, allocations: 398 kB / 0.5185 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008626/0.5003, allocations: 0.6834 MB / 0.5191 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.5003, allocations: 17.16 kB / 0.5192 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002626/0.5006, allocations: 183.2 kB / 0.5193 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.5115, allocations: 6.303 MB / 0.5255 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/0.5116, allocations: 7.906 kB / 0.5255 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02592/0.5376, allocations: 13.76 MB / 0.5389 GB, free: 5.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.5378, allocations: 87.66 kB / 0.539 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.538, allocations: 160.1 kB / 0.5392 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02331/0.5614, allocations: 6.96 MB / 0.546 GB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5614, allocations: 3.844 kB / 0.546 GB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5614, allocations: 0 / 0.546 GB, free: 15.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.5614, allocations: 0 / 0.546 GB, free: 15.66 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.004975/0.5664, allocations: 1.491 MB / 0.5474 GB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5665, allocations: 14.67 kB / 0.5474 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.903e-05/0.5666, allocations: 70.45 kB / 0.5475 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.5667, allocations: 31.72 kB / 0.5475 GB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.5671, allocations: 242.7 kB / 0.5478 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.5671, allocations: 24.5 kB / 0.5478 GB, free: 13.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.5671, allocations: 26.58 kB / 0.5478 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008346/0.568, allocations: 0.5075 MB / 0.5483 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.568, allocations: 3.938 kB / 0.5483 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.568, allocations: 16.66 kB / 0.5483 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.5681, allocations: 24.55 kB / 0.5484 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5692, allocations: 0.9193 MB / 0.5493 GB, free: 12.2 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.002159/0.5714, allocations: 1.903 MB / 0.5511 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.5721, allocations: 273.2 kB / 0.5514 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.5723, allocations: 106.3 kB / 0.5515 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01887/0.5912, allocations: 15.74 MB / 0.5668 GB, free: 7.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006661/0.5919, allocations: 253 kB / 0.5671 GB, free: 6.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 4.759e-06/0.5919, allocations: 0 / 0.5671 GB, free: 6.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.002605/0.5946, allocations: 0.795 MB / 0.5679 GB, free: 5.977 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.5947, allocations: 269.3 kB / 0.5681 GB, free: 5.656 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002163/0.5949, allocations: 211.3 kB / 0.5683 GB, free: 5.441 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.595, allocations: 33.7 kB / 0.5684 GB, free: 5.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.5951, allocations: 199.4 kB / 0.5685 GB, free: 5.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.5953, allocations: 125.8 kB / 0.5687 GB, free: 5.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.5953, allocations: 45.69 kB / 0.5687 GB, free: 5.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5955, allocations: 334.8 kB / 0.569 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.5956, allocations: 93.05 kB / 0.5691 GB, free: 4.609 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.5961, allocations: 365.6 kB / 0.5695 GB, free: 4.121 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007946/0.5969, allocations: 0.5058 MB / 0.57 GB, free: 3.488 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.597, allocations: 4 kB / 0.57 GB, free: 3.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001266/0.5982, allocations: 0.5024 MB / 0.5705 GB, free: 2.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.5983, allocations: 8 kB / 0.5705 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.5983, allocations: 12 kB / 0.5705 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.5983, allocations: 16.06 kB / 0.5705 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006291/0.5989, allocations: 179.7 kB / 0.5707 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007436/0.5997, allocations: 1.184 MB / 0.5718 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.6, allocations: 36.03 kB / 0.5718 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.601e-05/0.6001, allocations: 43.98 kB / 0.5719 GB, free: 1.461 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.0002186/0.6004, allocations: 173.5 kB / 0.5721 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.6005, allocations: 35.72 kB / 0.5721 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.6016, allocations: 486.7 kB / 0.5726 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.6016, allocations: 4 kB / 0.5726 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6016, allocations: 0 / 0.5726 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6016, allocations: 0 / 0.5726 GB, free: 0.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009054/0.6025, allocations: 0.6048 MB / 0.5731 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6026, allocations: 2.75 kB / 0.5731 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/0.603, allocations: 90.48 kB / 0.5732 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.603, allocations: 4 kB / 0.5732 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.603, allocations: 10.52 kB / 0.5732 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000616/0.6036, allocations: 1.178 MB / 0.5744 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.6036, allocations: 4.031 kB / 0.5744 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005723/0.6042, allocations: 323.5 kB / 0.5747 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6043, allocations: 116.8 kB / 0.5748 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.6044, allocations: 8 kB / 0.5748 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.6046, allocations: 15.92 kB / 0.5748 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.6047, allocations: 27.91 kB / 0.5749 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.6047, allocations: 16 kB / 0.5749 GB, free: 14.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.6049, allocations: 168.5 kB / 0.575 GB, free: 14.05 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6049, allocations: 0 / 0.575 GB, free: 14.05 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007017/0.6119, allocations: 1.694 MB / 0.5767 GB, free: 12.35 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.01125/0.6232, allocations: 3.084 MB / 0.5797 GB, free: 9.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.6244, allocations: 332.7 kB / 0.58 GB, free: 9.102 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.6244, allocations: 0 / 0.58 GB, free: 9.102 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.6248, allocations: 123.8 kB / 0.5802 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/0.6257, allocations: 96.72 kB / 0.5802 GB, free: 8.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5386/1.164, allocations: 144 MB / 0.7208 GB, free: 163 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/1.165, allocations: 0.7587 MB / 0.7216 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006576/1.165, allocations: 145.9 kB / 0.7217 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/1.166, allocations: 100.3 kB / 0.7218 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.533e-06/1.166, allocations: 0 / 0.7218 GB, free: 162.2 MB / 0.5294 GB [CodegenUtil.tpl:198:14-198: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})).