Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 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.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_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.001158/0.001158, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2411/0.2411, allocations: 46.11 MB / 343.6 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002373/0.002373, allocations: 80.33 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1633, allocations: 62.44 MB / 479.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.5099/0.6733, allocations: 152.9 MB / 0.6175 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.6875, allocations: 10.87 MB / 0.6281 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.6878, allocations: 0 / 0.6281 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.6885, allocations: 71.67 kB / 0.6282 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009317/0.6978, allocations: 2.693 MB / 0.6308 GB, free: 13.13 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.6983, allocations: 160.3 kB / 0.631 GB, free: 12.98 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.6995, allocations: 0.7597 MB / 0.6317 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.6996, allocations: 20.39 kB / 0.6317 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.7002, allocations: 219.1 kB / 0.6319 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.7013, allocations: 407 kB / 0.6323 GB, free: 11.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.454e-05/0.7014, allocations: 8 kB / 0.6323 GB, free: 11.58 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0119/0.7133, allocations: 5.173 MB / 0.6374 GB, free: 6.402 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.7136, allocations: 91.69 kB / 0.6375 GB, free: 6.312 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.714, allocations: 147.3 kB / 0.6376 GB, free: 6.168 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.7241, allocations: 2.604 MB / 0.6402 GB, free: 3.559 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.7241, allocations: 4 kB / 0.6402 GB, free: 3.555 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7241, allocations: 0 / 0.6402 GB, free: 3.555 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.7242, allocations: 0 / 0.6402 GB, free: 3.555 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.004396/0.7286, allocations: 1.073 MB / 0.6412 GB, free: 2.434 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.223e-05/0.7287, allocations: 8.875 kB / 0.6412 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002424/0.7289, allocations: 74.66 kB / 0.6413 GB, free: 2.344 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000439/0.7294, allocations: 36.22 kB / 0.6413 GB, free: 2.309 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007313/0.7301, allocations: 247.1 kB / 0.6416 GB, free: 2.027 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.7304, allocations: 127.5 kB / 0.6417 GB, free: 1.879 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-05/0.7305, allocations: 27.98 kB / 0.6417 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.732, allocations: 0.5759 MB / 0.6423 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.7321, allocations: 0 / 0.6423 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.217e-05/0.7322, allocations: 16 kB / 0.6423 GB, free: 1.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.992e-05/0.7323, allocations: 28.48 kB / 0.6423 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.7344, allocations: 1.255 MB / 0.6435 GB, free: 15.95 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.003889/0.7383, allocations: 1.988 MB / 0.6455 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.7393, allocations: 260 kB / 0.6457 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.7396, allocations: 114.1 kB / 0.6458 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004558/0.7442, allocations: 3.098 MB / 0.6489 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.7442, allocations: 38.56 kB / 0.6489 GB, free: 9.758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.545e-06/0.7443, allocations: 0 / 0.6489 GB, free: 9.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.002682/0.7469, allocations: 0.709 MB / 0.6496 GB, free: 9.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.747, allocations: 55.41 kB / 0.6497 GB, free: 8.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.7474, allocations: 210.8 kB / 0.6499 GB, free: 8.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.356e-05/0.7474, allocations: 33.7 kB / 0.6499 GB, free: 8.703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.7476, allocations: 195.8 kB / 0.6501 GB, free: 8.504 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001992/0.7478, allocations: 149.8 kB / 0.6502 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.7481, allocations: 138.1 kB / 0.6503 GB, free: 8.215 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.7483, allocations: 338.8 kB / 0.6507 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.7486, allocations: 105.2 kB / 0.6508 GB, free: 7.773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/0.7493, allocations: 417.4 kB / 0.6512 GB, free: 7.215 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.7503, allocations: 0.5708 MB / 0.6517 GB, free: 6.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.7503, allocations: 4 kB / 0.6517 GB, free: 6.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001457/0.7518, allocations: 0.5483 MB / 0.6523 GB, free: 5.938 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.7518, allocations: 11.98 kB / 0.6523 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.7519, allocations: 12 kB / 0.6523 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.745e-05/0.7519, allocations: 12 kB / 0.6523 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/0.7529, allocations: 195.8 kB / 0.6525 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009752/0.7539, allocations: 1.196 MB / 0.6537 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.7545, allocations: 31.84 kB / 0.6537 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.7546, allocations: 55.98 kB / 0.6537 GB, free: 4.383 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.0002974/0.7549, allocations: 169.5 kB / 0.6539 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.7551, allocations: 27.72 kB / 0.6539 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.757, allocations: 0.631 MB / 0.6545 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/0.757, allocations: 15.92 kB / 0.6546 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.757, allocations: 0 / 0.6546 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.757, allocations: 3.938 kB / 0.6546 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.7586, allocations: 0.8313 MB / 0.6554 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.7586, allocations: 0 / 0.6554 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.7592, allocations: 95.88 kB / 0.6555 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-05/0.7592, allocations: 4 kB / 0.6555 GB, free: 2.465 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.7593, allocations: 8 kB / 0.6555 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009776/0.7603, allocations: 1.176 MB / 0.6566 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.7603, allocations: 0 / 0.6566 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007464/0.7611, allocations: 363.4 kB / 0.657 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.7613, allocations: 116.8 kB / 0.6571 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.7614, allocations: 8 kB / 0.6571 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.7618, allocations: 11.98 kB / 0.6571 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.935e-05/0.7619, allocations: 27.91 kB / 0.6571 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.7619, allocations: 12 kB / 0.6571 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002372/0.7622, allocations: 176.5 kB / 0.6573 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7622, allocations: 0 / 0.6573 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002515/0.7647, allocations: 0.4996 MB / 0.6578 GB, free: 15.99 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.003676/0.7684, allocations: 1.553 MB / 0.6593 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.7695, allocations: 368.8 kB / 0.6597 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.7695, allocations: 4 kB / 0.6597 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.77, allocations: 144 kB / 0.6598 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008811/0.7709, allocations: 125.4 kB / 0.6599 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.7915, allocations: 8.928 MB / 0.6686 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.7922, allocations: 0.7699 MB / 0.6694 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001274/0.7935, allocations: 198.8 kB / 0.6696 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.7939, allocations: 119.4 kB / 0.6697 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2.104e-06/0.794, allocations: 0 / 0.6697 GB, free: 3.352 MB / 0.4981 GB [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})).