Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_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.001022/0.001022, allocations: 92.72 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001051, allocations: 198.8 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002308/0.0002308, allocations: 4 kB / 306.7 MB, free: 1.504 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1064, allocations: 51.49 MB / 358.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3571/0.4636, allocations: 127.4 MB / 485.6 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.4653, allocations: 1.353 MB / 486.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.4654, allocations: 0 / 486.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.4657, allocations: 47.84 kB / 487 MB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.466, allocations: 119.6 kB / 487.1 MB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002264/0.4683, allocations: 0.592 MB / 487.7 MB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.4686, allocations: 187.6 kB / 487.8 MB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.862e-05/0.4687, allocations: 13.45 kB / 487.9 MB, free: 10.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003362/0.469, allocations: 163.5 kB / 488 MB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.4692, allocations: 87.78 kB / 488.1 MB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.4692, allocations: 8 kB / 488.1 MB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002315/0.4715, allocations: 1.201 MB / 489.3 MB, free: 9.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.556e-05/0.4717, allocations: 67.84 kB / 489.4 MB, free: 9.145 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.4717, allocations: 57.64 kB / 489.4 MB, free: 9.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008976/0.4726, allocations: 0.528 MB / 490 MB, free: 8.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4726, allocations: 0 / 490 MB, free: 8.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4727, allocations: 0 / 490 MB, free: 8.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4727, allocations: 0 / 490 MB, free: 8.559 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001667/0.4743, allocations: 0.6136 MB / 490.6 MB, free: 7.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4744, allocations: 12.03 kB / 490.6 MB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.4745, allocations: 46.55 kB / 490.6 MB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.4746, allocations: 23.81 kB / 490.7 MB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.4749, allocations: 214.8 kB / 490.9 MB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.4749, allocations: 12.33 kB / 490.9 MB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.475, allocations: 19.89 kB / 490.9 MB, free: 7.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.4756, allocations: 261.4 kB / 491.2 MB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.4757, allocations: 4.844 kB / 491.2 MB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.4757, allocations: 8 kB / 491.2 MB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.4757, allocations: 15.98 kB / 491.2 MB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.4764, allocations: 259.8 kB / 491.4 MB, free: 6.98 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.001528/0.4779, allocations: 0.7898 MB / 492.2 MB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000607/0.4785, allocations: 217.2 kB / 492.4 MB, free: 5.883 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003518/0.4789, allocations: 356.4 kB / 492.8 MB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.4789, allocations: 35.39 kB / 492.8 MB, free: 5.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.479, allocations: 3.938 kB / 492.8 MB, free: 5.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002439/0.4814, allocations: 0.668 MB / 493.5 MB, free: 4.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/0.4815, allocations: 85.05 kB / 493.6 MB, free: 4.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.4816, allocations: 117.8 kB / 493.7 MB, free: 4.516 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.4816, allocations: 29.7 kB / 493.7 MB, free: 4.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.4818, allocations: 108.8 kB / 493.8 MB, free: 4.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.4819, allocations: 126.1 kB / 494 MB, free: 4.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.482, allocations: 8 kB / 494 MB, free: 4.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4821, allocations: 326.8 kB / 494.3 MB, free: 3.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.4825, allocations: 143.8 kB / 494.4 MB, free: 3.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.4829, allocations: 207.5 kB / 494.6 MB, free: 3.539 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.4833, allocations: 158.2 kB / 494.8 MB, free: 3.387 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4833, allocations: 0 / 494.8 MB, free: 3.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009187/0.4842, allocations: 397.1 kB / 495.2 MB, free: 2.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4842, allocations: 4 kB / 495.2 MB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4842, allocations: 4 kB / 495.2 MB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4843, allocations: 7.984 kB / 495.2 MB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004616/0.4847, allocations: 91.81 kB / 495.3 MB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.4847, allocations: 4 kB / 495.3 MB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.485, allocations: 28.05 kB / 495.3 MB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.4851, allocations: 22.48 kB / 495.3 MB, free: 2.836 MB / 398.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.0001552/0.4853, allocations: 145.7 kB / 495.5 MB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.4853, allocations: 15.81 kB / 495.5 MB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.4857, allocations: 177.5 kB / 495.7 MB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.4857, allocations: 4 kB / 495.7 MB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4857, allocations: 0 / 495.7 MB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.4857, allocations: 3.984 kB / 495.7 MB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/0.4874, allocations: 0.7621 MB / 496.4 MB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.4874, allocations: 4 kB / 496.4 MB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.4879, allocations: 75.89 kB / 496.5 MB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.4879, allocations: 11.94 kB / 496.5 MB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.4879, allocations: 8.375 kB / 496.5 MB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.4879, allocations: 7.938 kB / 496.5 MB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4879, allocations: 0 / 496.5 MB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.4893, allocations: 0.7788 MB / 497.3 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.4895, allocations: 128.6 kB / 497.4 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.4895, allocations: 12 kB / 497.4 MB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.4899, allocations: 19.98 kB / 497.5 MB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.4899, allocations: 23.97 kB / 497.5 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.49, allocations: 19.98 kB / 497.5 MB, free: 484 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.828e-05/0.49, allocations: 99.27 kB / 497.6 MB, free: 384 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.49, allocations: 0 / 497.6 MB, free: 384 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005694/0.4906, allocations: 143.9 kB / 497.7 MB, free: 240 kB / 398.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.002136/0.4928, allocations: 1.85 MB / 499.6 MB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009143/0.4937, allocations: 342.6 kB / 499.9 MB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4937, allocations: 0 / 499.9 MB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.4941, allocations: 176.3 kB / 0.4884 GB, free: 13.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.4947, allocations: 89.88 kB / 0.4885 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.4983, allocations: 2.774 MB / 0.4912 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.4986, allocations: 0.7374 MB / 0.4919 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004103/0.499, allocations: 81.86 kB / 0.492 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.4992, allocations: 63.69 kB / 0.492 GB, free: 9.953 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4992, allocations: 0 / 0.492 GB, free: 9.953 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03346/0.5326, allocations: 7.633 MB / 0.4995 GB, free: 2.461 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/0.533, allocations: 165.3 kB / 0.4996 GB, free: 2.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/2.725, allocations: 0 / 0.4996 GB, free: 2.219 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat