Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_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.0009282/0.0009282, allocations: 94.33 kB / 16.95 MB, free: 6.383 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.001165/0.001165, allocations: 182.4 kB / 17.84 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005108, allocations: 11.44 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1011, allocations: 47.56 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3608/0.4619, allocations: 138.5 MB / 467 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.4631, allocations: 0.5564 MB / 467.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.4633, allocations: 8 kB / 467.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.4636, allocations: 39.73 kB / 467.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004354/0.464, allocations: 132.8 kB / 467.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.4671, allocations: 0.8297 MB / 468.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000647/0.4677, allocations: 398.7 kB / 468.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.439e-05/0.4678, allocations: 5.453 kB / 468.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.4681, allocations: 139.5 kB / 469 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.4684, allocations: 127.7 kB / 469.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.4684, allocations: 11.94 kB / 469.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.4711, allocations: 1.345 MB / 470.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.4712, allocations: 67.83 kB / 470.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.4713, allocations: 57.64 kB / 470.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.4724, allocations: 0.6411 MB / 471.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4724, allocations: 0 / 471.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4724, allocations: 0 / 471.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.4724, allocations: 0 / 471.3 MB, free: 11.14 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001721/0.4742, allocations: 0.6495 MB / 471.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.4742, allocations: 8.031 kB / 472 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.619e-05/0.4743, allocations: 50.55 kB / 472 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.4744, allocations: 19.81 kB / 472 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.4747, allocations: 210.9 kB / 472.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4747, allocations: 8.328 kB / 472.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.4748, allocations: 16 kB / 472.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005389/0.4753, allocations: 266.2 kB / 472.5 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4753, allocations: 0 / 472.5 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.4754, allocations: 11.98 kB / 472.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.4754, allocations: 4 kB / 472.5 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005883/0.476, allocations: 267.7 kB / 472.8 MB, free: 9.543 MB / 366.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.001568/0.4776, allocations: 0.7897 MB / 473.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.4782, allocations: 225.1 kB / 473.8 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.4785, allocations: 135.7 kB / 473.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/0.4789, allocations: 360.3 kB / 474.3 MB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.479, allocations: 38.56 kB / 474.3 MB, free: 7.828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.292e-06/0.479, allocations: 0 / 474.3 MB, free: 7.828 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002221/0.4812, allocations: 0.6745 MB / 475 MB, free: 7.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.4813, allocations: 89.05 kB / 475.1 MB, free: 7.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4814, allocations: 121.8 kB / 475.2 MB, free: 6.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.4815, allocations: 33.7 kB / 475.2 MB, free: 6.879 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.4815, allocations: 104.8 kB / 475.3 MB, free: 6.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.4816, allocations: 126.2 kB / 475.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.4817, allocations: 11.94 kB / 475.5 MB, free: 6.637 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4818, allocations: 334.7 kB / 475.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.4822, allocations: 131.9 kB / 475.9 MB, free: 6.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.4826, allocations: 207.6 kB / 476.1 MB, free: 5.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.483, allocations: 147.9 kB / 476.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.483, allocations: 0 / 476.3 MB, free: 5.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008788/0.4839, allocations: 405.1 kB / 476.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4839, allocations: 7.938 kB / 476.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.484, allocations: 4.219 kB / 476.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.484, allocations: 8 kB / 476.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.4845, allocations: 87.88 kB / 476.8 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.4845, allocations: 7.984 kB / 476.8 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.4848, allocations: 27.83 kB / 476.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.4848, allocations: 19.98 kB / 476.8 MB, free: 5.234 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.485, allocations: 137.7 kB / 477 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.4851, allocations: 19.91 kB / 477 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004398/0.4856, allocations: 182.2 kB / 477.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4856, allocations: 4 kB / 477.2 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4856, allocations: 3.938 kB / 477.2 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4857, allocations: 7.984 kB / 477.2 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.4872, allocations: 0.7441 MB / 477.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.4872, allocations: 4.156 kB / 477.9 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.4877, allocations: 80.2 kB / 478 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4877, allocations: 0 / 478 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.4877, allocations: 15.98 kB / 478 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4877, allocations: 0 / 478 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4877, allocations: 7.938 kB / 478 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.489, allocations: 0.7217 MB / 478.7 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.4891, allocations: 116.9 kB / 478.9 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.4892, allocations: 8 kB / 478.9 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.4895, allocations: 23.89 kB / 478.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.4896, allocations: 31.97 kB / 478.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.4897, allocations: 19.98 kB / 478.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.4898, allocations: 91.27 kB / 479 MB, free: 2.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4898, allocations: 0 / 479 MB, free: 2.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000588/0.4904, allocations: 139.9 kB / 479.2 MB, free: 2.758 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002044/0.4925, allocations: 1.37 MB / 480.5 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008231/0.4933, allocations: 335.9 kB / 480.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4933, allocations: 0 / 480.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.4937, allocations: 176.5 kB / 481 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007665/0.4945, allocations: 95.91 kB / 481.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.4976, allocations: 1.576 MB / 482.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.4979, allocations: 0.7298 MB / 483.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004398/0.4984, allocations: 77.91 kB / 483.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.4986, allocations: 67.34 kB / 483.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4986, allocations: 0 / 483.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.5199, allocations: 7.724 MB / 491.3 MB, free: 6.469 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.5202, allocations: 159 kB / 491.5 MB, free: 6.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.137/2.657, allocations: 0 / 491.5 MB, free: 6.23 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat