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.001559/0.001559, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002245/0.002245, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 77.2 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1112, allocations: 62.45 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3495/0.4607, allocations: 155.1 MB / 0.6203 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.4721, allocations: 10.54 MB / 0.6306 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.4723, allocations: 0 / 0.6306 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.4727, allocations: 83.48 kB / 0.6307 GB, free: 13.47 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007041/0.4798, allocations: 3.048 MB / 0.6337 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.4802, allocations: 150.7 kB / 0.6338 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006454/0.4808, allocations: 0.5295 MB / 0.6343 GB, free: 9.738 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.989e-05/0.4809, allocations: 28.34 kB / 0.6344 GB, free: 9.711 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003802/0.4813, allocations: 231.1 kB / 0.6346 GB, free: 9.484 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000756/0.482, allocations: 382.9 kB / 0.6349 GB, free: 9.109 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.516e-05/0.4821, allocations: 16 kB / 0.635 GB, free: 9.094 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008088/0.4902, allocations: 4.652 MB / 0.6395 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.4904, allocations: 99.69 kB / 0.6396 GB, free: 4.336 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002787/0.4907, allocations: 155.3 kB / 0.6397 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00542/0.4962, allocations: 2.425 MB / 0.6421 GB, free: 1.754 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4962, allocations: 0 / 0.6421 GB, free: 1.754 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4962, allocations: 0 / 0.6421 GB, free: 1.754 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.4962, allocations: 0 / 0.6421 GB, free: 1.754 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.002786/0.499, allocations: 1.061 MB / 0.6431 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4991, allocations: 12.03 kB / 0.6432 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9e-05/0.4992, allocations: 74.7 kB / 0.6432 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.4994, allocations: 36.22 kB / 0.6433 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.4997, allocations: 246.6 kB / 0.6435 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.4998, allocations: 131.5 kB / 0.6436 GB, free: 84 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.046e-05/0.4999, allocations: 24 kB / 0.6437 GB, free: 60 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.5006, allocations: 0.5681 MB / 0.6442 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5007, allocations: 0 / 0.6442 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.5007, allocations: 12 kB / 0.6442 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.735e-05/0.5008, allocations: 40.42 kB / 0.6443 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.502, allocations: 1.247 MB / 0.6455 GB, free: 14.16 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.002211/0.5042, allocations: 1.977 MB / 0.6474 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.5049, allocations: 263.4 kB / 0.6477 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.5051, allocations: 119.9 kB / 0.6478 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002876/0.508, allocations: 3.114 MB / 0.6508 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.508, allocations: 34.56 kB / 0.6508 GB, free: 7.969 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.508, allocations: 0 / 0.6508 GB, free: 7.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.001816/0.5099, allocations: 0.7172 MB / 0.6515 GB, free: 7.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.5099, allocations: 59.34 kB / 0.6516 GB, free: 7.156 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.5101, allocations: 205.9 kB / 0.6518 GB, free: 6.945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.5101, allocations: 33.7 kB / 0.6518 GB, free: 6.906 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.5102, allocations: 191.8 kB / 0.652 GB, free: 6.711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.5103, allocations: 149.8 kB / 0.6522 GB, free: 6.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.5105, allocations: 138.1 kB / 0.6523 GB, free: 6.422 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.5106, allocations: 346.8 kB / 0.6526 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.5108, allocations: 105.2 kB / 0.6527 GB, free: 5.973 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.5112, allocations: 405.4 kB / 0.6531 GB, free: 5.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/0.5118, allocations: 0.5784 MB / 0.6537 GB, free: 4.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.5118, allocations: 4 kB / 0.6537 GB, free: 4.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009535/0.5128, allocations: 0.5439 MB / 0.6542 GB, free: 4.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5128, allocations: 8 kB / 0.6542 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.5129, allocations: 19.97 kB / 0.6542 GB, free: 4.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.5129, allocations: 16 kB / 0.6542 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.5136, allocations: 191.7 kB / 0.6544 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005472/0.5141, allocations: 1.192 MB / 0.6556 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.5144, allocations: 24 kB / 0.6556 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-05/0.5145, allocations: 55.92 kB / 0.6557 GB, free: 2.602 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.0001765/0.5147, allocations: 185.6 kB / 0.6558 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.5148, allocations: 23.72 kB / 0.6559 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.516, allocations: 0.63 MB / 0.6565 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.516, allocations: 4 kB / 0.6565 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.516, allocations: 3.938 kB / 0.6565 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.516, allocations: 7.984 kB / 0.6565 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5171, allocations: 0.8166 MB / 0.6573 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.5171, allocations: 0 / 0.6573 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.5175, allocations: 107.2 kB / 0.6574 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.5175, allocations: 0 / 0.6574 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.5176, allocations: 12 kB / 0.6574 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004901/0.5181, allocations: 1.172 MB / 0.6586 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5181, allocations: 0 / 0.6586 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.5185, allocations: 363.2 kB / 0.6589 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.5186, allocations: 116.8 kB / 0.659 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.5187, allocations: 8 kB / 0.659 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.519, allocations: 15.98 kB / 0.659 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.519, allocations: 31.84 kB / 0.6591 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.5191, allocations: 16 kB / 0.6591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001523/0.5192, allocations: 172.5 kB / 0.6592 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5192, allocations: 0 / 0.6592 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001389/0.5206, allocations: 0.4996 MB / 0.6597 GB, free: 14.21 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.002471/0.5231, allocations: 1.54 MB / 0.6612 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008649/0.524, allocations: 388.2 kB / 0.6616 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.524, allocations: 0.875 kB / 0.6616 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.5244, allocations: 148.7 kB / 0.6617 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008023/0.5252, allocations: 137.9 kB / 0.6619 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.5369, allocations: 8.816 MB / 0.6705 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.5372, allocations: 0.7699 MB / 0.6712 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000751/0.538, allocations: 198.9 kB / 0.6714 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.5383, allocations: 123.3 kB / 0.6716 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.5383, allocations: 0 / 0.6716 GB, free: 1.656 MB / 0.4981 GB [CodegenUtil.tpl:216:14-216: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})).