Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.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.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001174, allocations: 95.73 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 203.8 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002305/0.0002305, allocations: 7.984 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1068, allocations: 51.49 MB / 358.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.361/0.4678, allocations: 127.7 MB / 485.9 MB, free: 12.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.4693, allocations: 0.8707 MB / 486.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.4694, allocations: 0 / 486.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.4697, allocations: 63.64 kB / 486.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.4701, allocations: 211.5 kB / 487 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.4723, allocations: 0.7668 MB / 487.8 MB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.4751, allocations: 3.076 MB / 490.8 MB, free: 7.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004166/0.4755, allocations: 265.4 kB / 491.1 MB, free: 7.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/0.4785, allocations: 1.879 MB / 493 MB, free: 5.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.4814, allocations: 1.629 MB / 494.6 MB, free: 3.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005862/0.482, allocations: 140 kB / 494.7 MB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.4858, allocations: 1.381 MB / 496.1 MB, free: 2.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001559/0.4874, allocations: 1.021 MB / 497.2 MB, free: 1.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.4884, allocations: 0.4928 MB / 497.6 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003961/0.4924, allocations: 3.159 MB / 0.4891 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4924, allocations: 0 / 0.4891 GB, free: 13.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4924, allocations: 0 / 0.4891 GB, free: 13.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.676e-05/0.4925, allocations: 0 / 0.4891 GB, free: 13.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.009063/0.5016, allocations: 2.898 MB / 0.4919 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.5017, allocations: 8.031 kB / 0.4919 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001412/0.5031, allocations: 376.2 kB / 0.4923 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00276/0.5059, allocations: 325.2 kB / 0.4926 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.5103, allocations: 1.316 MB / 0.4939 GB, free: 8.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.5105, allocations: 176.9 kB / 0.494 GB, free: 8.461 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009738/0.5115, allocations: 244 kB / 0.4943 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/0.5191, allocations: 3.78 MB / 0.498 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.695e-05/0.5192, allocations: 5.531 kB / 0.498 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004908/0.5196, allocations: 116 kB / 0.4981 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.038e-05/0.5197, allocations: 60 kB / 0.4981 GB, free: 4.219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009463/0.5292, allocations: 5.971 MB / 0.504 GB, free: 14.23 MB / 430.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.02173/0.5509, allocations: 11.2 MB / 0.5149 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007165/0.5581, allocations: 5.014 MB / 0.5198 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006236/0.5588, allocations: 435.3 kB / 0.5202 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.309e-05/0.5589, allocations: 94.62 kB / 0.5203 GB, free: 12.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 7.565e-06/0.5589, allocations: 3.984 kB / 0.5203 GB, free: 12.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.01005/0.569, allocations: 5.788 MB / 0.5259 GB, free: 6.738 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.5691, allocations: 90.47 kB / 0.526 GB, free: 6.637 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.5702, allocations: 0.8635 MB / 0.5269 GB, free: 5.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005226/0.5707, allocations: 97.7 kB / 0.527 GB, free: 5.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.5711, allocations: 0.5266 MB / 0.5275 GB, free: 5.125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001397/0.5725, allocations: 1.301 MB / 0.5288 GB, free: 3.805 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.5727, allocations: 68 kB / 0.5288 GB, free: 3.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003528/0.5731, allocations: 0.4944 MB / 0.5293 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/0.576, allocations: 1.736 MB / 0.531 GB, free: 1.496 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1911/0.7671, allocations: 2.234 MB / 0.5332 GB, free: 153.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004426/0.7715, allocations: 2.099 MB / 0.5352 GB, free: 153.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-05/0.7716, allocations: 6.078 kB / 0.5352 GB, free: 153.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009029/0.7806, allocations: 4.56 MB / 0.5397 GB, free: 152.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.7807, allocations: 9.656 kB / 0.5397 GB, free: 152.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.7807, allocations: 10.78 kB / 0.5397 GB, free: 152.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.055e-05/0.7808, allocations: 29.86 kB / 0.5397 GB, free: 152.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/0.7847, allocations: 0.792 MB / 0.5405 GB, free: 152.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.623e-05/0.7848, allocations: 37.42 kB / 0.5405 GB, free: 152.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/0.7878, allocations: 424 kB / 0.5409 GB, free: 152.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004394/0.7882, allocations: 145.2 kB / 0.5411 GB, free: 152.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * 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.001588/0.7898, allocations: 0.765 MB / 0.5418 GB, free: 151.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/0.7904, allocations: 211 kB / 0.542 GB, free: 151.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009903/0.8003, allocations: 5.171 MB / 0.5471 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.8004, allocations: 41 kB / 0.5471 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.8004, allocations: 0.875 kB / 0.5471 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.968e-05/0.8005, allocations: 30.84 kB / 0.5472 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/0.8059, allocations: 2.821 MB / 0.5499 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.264e-05/0.806, allocations: 1.25 kB / 0.5499 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003963/0.8099, allocations: 0.7321 MB / 0.5506 GB, free: 149 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.278e-05/0.81, allocations: 17.56 kB / 0.5506 GB, free: 149 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004479/0.8105, allocations: 92.77 kB / 0.5507 GB, free: 149 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/0.8105, allocations: 11.84 kB / 0.5507 GB, free: 149 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8105, allocations: 7.5 kB / 0.5507 GB, free: 149 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009747/0.8202, allocations: 7.178 MB / 0.5578 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007282/0.821, allocations: 350.6 kB / 0.5581 GB, free: 145.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/0.8214, allocations: 74.91 kB / 0.5582 GB, free: 145.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002862/0.8243, allocations: 301.5 kB / 0.5585 GB, free: 145.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/0.8248, allocations: 312.4 kB / 0.5588 GB, free: 145 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/0.8251, allocations: 179.1 kB / 0.5589 GB, free: 144.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000679/0.8258, allocations: 0.6756 MB / 0.5596 GB, free: 144.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8258, allocations: 0 / 0.5596 GB, free: 144.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002316/0.8281, allocations: 1.092 MB / 0.5606 GB, free: 143.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * 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.009412/0.8375, allocations: 8.088 MB / 0.5685 GB, free: 135.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005708/0.8433, allocations: 4.255 MB / 0.5727 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8433, allocations: 5 kB / 0.5727 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.8459, allocations: 2.256 MB / 0.5749 GB, free: 129.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004955/0.8509, allocations: 1.157 MB / 0.576 GB, free: 128.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02641/0.8773, allocations: 25.8 MB / 0.6012 GB, free: 101.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009975/0.8784, allocations: 1.882 MB / 0.6031 GB, free: 99.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005946/0.8843, allocations: 1.771 MB / 0.6048 GB, free: 97.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/0.886, allocations: 0.8741 MB / 0.6057 GB, free: 96.98 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.886, allocations: 0 / 0.6057 GB, free: 96.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1662/1.052, allocations: 78.06 MB / 0.6819 GB, free: 19.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001327/1.052, allocations: 201.1 kB / 0.6821 GB, free: 18.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.521/5.574, allocations: 3 kB / 0.6821 GB, free: 18.97 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat