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.001186/0.001186, allocations: 107.4 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2544/0.2544, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001719, allocations: 69.08 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1465, allocations: 62.43 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.03702/0.1836, allocations: 27.28 MB / 0.495 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2947/0.4783, allocations: 11.07 MB / 0.5058 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.4786, allocations: 2.562 kB / 0.5058 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.4792, allocations: 67.38 kB / 0.5059 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02498/0.5042, allocations: 8.366 MB / 0.514 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.5054, allocations: 402.1 kB / 0.5144 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007716/0.5062, allocations: 494.8 kB / 0.5149 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.414e-05/0.5063, allocations: 21.47 kB / 0.5149 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003004/0.5066, allocations: 199.8 kB / 0.5151 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01288/0.5195, allocations: 6.369 MB / 0.5213 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.5197, allocations: 13.28 kB / 0.5213 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02858/0.5482, allocations: 13.42 MB / 0.5344 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.5484, allocations: 99.72 kB / 0.5345 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.5487, allocations: 142.9 kB / 0.5347 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01983/0.5685, allocations: 6.987 MB / 0.5415 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.5686, allocations: 4 kB / 0.5415 GB, free: 15.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5686, allocations: 0 / 0.5415 GB, free: 15.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.5686, allocations: 0 / 0.5415 GB, free: 15.92 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.00493/0.5736, allocations: 1.556 MB / 0.543 GB, free: 14.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.5736, allocations: 8.031 kB / 0.543 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.085e-05/0.5737, allocations: 79.33 kB / 0.5431 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.574, allocations: 27.72 kB / 0.5431 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.5743, allocations: 242.7 kB / 0.5434 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.5743, allocations: 16.56 kB / 0.5434 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.5744, allocations: 31.94 kB / 0.5434 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008752/0.5753, allocations: 0.5151 MB / 0.5439 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5753, allocations: 6.234 kB / 0.5439 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.5753, allocations: 12 kB / 0.5439 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.5754, allocations: 20.55 kB / 0.5439 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.5766, allocations: 0.9232 MB / 0.5448 GB, free: 12.38 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.002219/0.5788, allocations: 1.901 MB / 0.5467 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/0.5796, allocations: 282.7 kB / 0.547 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.5798, allocations: 101.5 kB / 0.5471 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0217/0.6015, allocations: 15.68 MB / 0.5624 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008244/0.6024, allocations: 249.8 kB / 0.5626 GB, free: 7.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 6.903e-06/0.6025, allocations: 4 kB / 0.5626 GB, free: 7.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003408/0.6059, allocations: 0.7962 MB / 0.5634 GB, free: 6.219 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.6061, allocations: 261 kB / 0.5637 GB, free: 5.902 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.6065, allocations: 211.3 kB / 0.5639 GB, free: 5.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.6065, allocations: 29.7 kB / 0.5639 GB, free: 5.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.6067, allocations: 202.6 kB / 0.5641 GB, free: 5.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.6069, allocations: 125.6 kB / 0.5642 GB, free: 5.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.6071, allocations: 122.3 kB / 0.5643 GB, free: 5.207 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.6074, allocations: 338.8 kB / 0.5646 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.6076, allocations: 89.06 kB / 0.5647 GB, free: 4.781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.6082, allocations: 365.6 kB / 0.5651 GB, free: 4.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009089/0.6091, allocations: 0.5015 MB / 0.5656 GB, free: 3.664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.6091, allocations: 4 kB / 0.5656 GB, free: 3.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001376/0.6105, allocations: 0.5038 MB / 0.5661 GB, free: 3.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.6105, allocations: 8 kB / 0.5661 GB, free: 3.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.6106, allocations: 15.94 kB / 0.5661 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/0.6106, allocations: 12 kB / 0.5661 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.6113, allocations: 179.7 kB / 0.5663 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000746/0.612, allocations: 1.19 MB / 0.5674 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003496/0.6124, allocations: 31.84 kB / 0.5675 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.6125, allocations: 43.98 kB / 0.5675 GB, free: 1.633 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.000231/0.6127, allocations: 177.7 kB / 0.5677 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.613, allocations: 27.81 kB / 0.5677 GB, free: 1.422 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.6141, allocations: 490 kB / 0.5682 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.6141, allocations: 4 kB / 0.5682 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6141, allocations: 7.094 kB / 0.5682 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.6141, allocations: 0 / 0.5682 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.6152, allocations: 0.6055 MB / 0.5688 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.6152, allocations: 3.984 kB / 0.5688 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.6156, allocations: 88.58 kB / 0.5688 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.6156, allocations: 4 kB / 0.5689 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.6156, allocations: 8 kB / 0.5689 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006096/0.6163, allocations: 1.168 MB / 0.57 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.6163, allocations: 4.219 kB / 0.57 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.6169, allocations: 323.2 kB / 0.5703 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.617, allocations: 100.8 kB / 0.5704 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.988e-05/0.6171, allocations: 12 kB / 0.5704 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.6174, allocations: 15.97 kB / 0.5704 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.6174, allocations: 28.94 kB / 0.5705 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.6175, allocations: 11.98 kB / 0.5705 GB, free: 14.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.6177, allocations: 172.5 kB / 0.5706 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6177, allocations: 0 / 0.5706 GB, free: 14.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005776/0.6235, allocations: 1.69 MB / 0.5723 GB, free: 12.54 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.01129/0.6348, allocations: 3.086 MB / 0.5753 GB, free: 9.594 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.6363, allocations: 328.5 kB / 0.5756 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6363, allocations: 0 / 0.5756 GB, free: 9.273 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.6368, allocations: 132 kB / 0.5757 GB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009037/0.6378, allocations: 112.9 kB / 0.5758 GB, free: 9.051 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4866/1.124, allocations: 144.4 MB / 0.7169 GB, free: 206.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/1.125, allocations: 0.7514 MB / 0.7176 GB, free: 205.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000752/1.125, allocations: 142.4 kB / 0.7177 GB, free: 205.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/1.126, allocations: 101.5 kB / 0.7178 GB, free: 205.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/1.126, allocations: 0 / 0.7178 GB, free: 205.9 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})).