Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.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.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",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.00101/0.00101, allocations: 95 kB / 16.96 MB, free: 6.441 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.00124/0.00124, allocations: 177.8 kB / 17.84 MB, free: 6.008 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.446/1.446, allocations: 205.4 MB / 224 MB, free: 13.06 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.0005047/0.0005048, allocations: 15.98 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 47.57 MB / 328.4 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3636/0.4664, allocations: 138.9 MB / 467.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.468, allocations: 0.9025 MB / 468.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.4682, allocations: 3.938 kB / 468.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.4685, allocations: 59.64 kB / 468.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.4691, allocations: 274.9 kB / 468.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.472, allocations: 1.015 MB / 469.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005773/0.4778, allocations: 5.994 MB / 475.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000545/0.4784, allocations: 254 kB / 475.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003994/0.4824, allocations: 1.928 MB / 477.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.4868, allocations: 2.042 MB / 479.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.4879, allocations: 148 kB / 479.9 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004873/0.4927, allocations: 1.548 MB / 481.5 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001713/0.4945, allocations: 1.091 MB / 482.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.4957, allocations: 0.4982 MB / 483.1 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004304/0.5, allocations: 3.295 MB / 486.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.273e-05/0.5, allocations: 0 / 486.4 MB, free: 11.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5, allocations: 3.938 kB / 486.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.275e-05/0.5001, allocations: 0 / 486.4 MB, free: 11.97 MB / 382.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.00788/0.508, allocations: 2.922 MB / 489.3 MB, free: 8.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.5081, allocations: 12.03 kB / 489.3 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006698/0.5087, allocations: 373.8 kB / 489.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.5104, allocations: 329.2 kB / 490 MB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.5127, allocations: 1.309 MB / 491.3 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.5128, allocations: 180.9 kB / 491.5 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003602/0.5132, allocations: 239.9 kB / 491.7 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006252/0.5195, allocations: 3.808 MB / 495.5 MB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/0.5196, allocations: 0 / 495.5 MB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000369/0.52, allocations: 116 kB / 495.6 MB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.5201, allocations: 56 kB / 495.7 MB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00899/0.5291, allocations: 5.974 MB / 0.4899 GB, free: 12.5 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.02092/0.55, allocations: 11.19 MB / 0.5008 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007544/0.5576, allocations: 5.014 MB / 0.5057 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003737/0.5614, allocations: 2.389 MB / 0.5081 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008011/0.5622, allocations: 439.3 kB / 0.5085 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.5624, allocations: 94.62 kB / 0.5086 GB, free: 8.422 MB / 414.1 MB Notification: Performance of pre-optimization done (n=390): time 5.54e-06/0.5624, allocations: 0 / 0.5086 GB, free: 8.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=390): time 0.01057/0.5729, allocations: 5.785 MB / 0.5142 GB, free: 2.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.573, allocations: 94.47 kB / 0.5143 GB, free: 2.508 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.5743, allocations: 0.8712 MB / 0.5152 GB, free: 1.629 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004654/0.5748, allocations: 97.7 kB / 0.5153 GB, free: 1.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.5752, allocations: 0.5228 MB / 0.5158 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00136/0.5766, allocations: 1.309 MB / 0.517 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.5769, allocations: 68 kB / 0.5171 GB, free: 15.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003125/0.5772, allocations: 0.4981 MB / 0.5176 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003149/0.5804, allocations: 1.732 MB / 0.5193 GB, free: 13.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003432/0.5838, allocations: 2.242 MB / 0.5215 GB, free: 10.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/0.5876, allocations: 2.103 MB / 0.5235 GB, free: 8.852 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/0.5876, allocations: 4 kB / 0.5235 GB, free: 8.848 MB / 430.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008448/0.5961, allocations: 4.567 MB / 0.528 GB, free: 4.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.5962, allocations: 12 kB / 0.528 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/0.5963, allocations: 8 kB / 0.528 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.861e-05/0.5963, allocations: 28 kB / 0.528 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003838/0.6002, allocations: 0.7921 MB / 0.5288 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001008/0.6003, allocations: 31.94 kB / 0.5288 GB, free: 3.387 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003085/0.6034, allocations: 432.5 kB / 0.5293 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005975/0.604, allocations: 148 kB / 0.5294 GB, free: 2.816 MB / 430.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.002594/0.6066, allocations: 0.7582 MB / 0.5301 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/0.6079, allocations: 205.8 kB / 0.5303 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2168/0.8247, allocations: 5.173 MB / 0.5354 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.965e-05/0.8248, allocations: 41.06 kB / 0.5354 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.8248, allocations: 0 / 0.5354 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.671e-05/0.8249, allocations: 20.34 kB / 0.5354 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006629/0.8315, allocations: 2.82 MB / 0.5382 GB, free: 159.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-05/0.8316, allocations: 2.031 kB / 0.5382 GB, free: 159.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003947/0.8356, allocations: 0.7345 MB / 0.5389 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.834e-05/0.8356, allocations: 13.38 kB / 0.5389 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003939/0.836, allocations: 91.62 kB / 0.539 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.018e-05/0.8361, allocations: 14.22 kB / 0.539 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8361, allocations: 0.5625 kB / 0.539 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.8475, allocations: 7.188 MB / 0.546 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005879/0.8481, allocations: 358.7 kB / 0.5464 GB, free: 157.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004675/0.8486, allocations: 71.56 kB / 0.5465 GB, free: 157.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/0.8511, allocations: 306 kB / 0.5468 GB, free: 157 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/0.8516, allocations: 315.3 kB / 0.5471 GB, free: 157 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003122/0.8519, allocations: 173.5 kB / 0.5472 GB, free: 157 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008382/0.8528, allocations: 0.6839 MB / 0.5479 GB, free: 156.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8528, allocations: 0 / 0.5479 GB, free: 156.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002313/0.8551, allocations: 1.094 MB / 0.549 GB, free: 156.6 MB / 430.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.009814/0.8649, allocations: 8.084 MB / 0.5568 GB, free: 149.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005754/0.8707, allocations: 4.248 MB / 0.561 GB, free: 145.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/0.8708, allocations: 13 kB / 0.561 GB, free: 145.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.8737, allocations: 2.247 MB / 0.5632 GB, free: 142.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/0.8792, allocations: 1.243 MB / 0.5644 GB, free: 141.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/0.9078, allocations: 18.52 MB / 0.5825 GB, free: 122.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.9091, allocations: 1.848 MB / 0.5843 GB, free: 120.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005581/0.9147, allocations: 1.764 MB / 0.586 GB, free: 118.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001643/0.9164, allocations: 0.878 MB / 0.5869 GB, free: 118.1 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.9164, allocations: 0 / 0.5869 GB, free: 118.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0985/1.015, allocations: 78.35 MB / 0.6634 GB, free: 39.55 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001302/1.015, allocations: 227.5 kB / 0.6636 GB, free: 39.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.544/5.559, allocations: 0 / 0.6636 GB, free: 39.3 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat