Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.00152, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001717/0.001717, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004067, allocations: 12 kB / 327 MB, free: 15.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1088, allocations: 47.59 MB / 374.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4981/0.607, allocations: 127.6 MB / 0.4905 GB, free: 13.68 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.6107, allocations: 1.76 MB / 0.4922 GB, free: 11.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.611, allocations: 0 / 0.4922 GB, free: 11.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.6114, allocations: 65.52 kB / 0.4922 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008451/0.6123, allocations: 223.5 kB / 0.4925 GB, free: 11.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.6159, allocations: 0.7898 MB / 0.4932 GB, free: 10.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005113/0.6211, allocations: 3.076 MB / 0.4962 GB, free: 7.766 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000529/0.6217, allocations: 260.5 kB / 0.4965 GB, free: 7.488 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.6266, allocations: 1.886 MB / 0.4983 GB, free: 5.594 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004829/0.6315, allocations: 1.637 MB / 0.4999 GB, free: 3.953 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001744/0.6333, allocations: 140 kB / 0.5001 GB, free: 3.816 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00551/0.6389, allocations: 1.362 MB / 0.5014 GB, free: 2.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00271/0.6417, allocations: 1.021 MB / 0.5024 GB, free: 1.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.6434, allocations: 0.4928 MB / 0.5029 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007027/0.6504, allocations: 3.151 MB / 0.5059 GB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6505, allocations: 0 / 0.5059 GB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.6505, allocations: 0 / 0.5059 GB, free: 13.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001569/0.6507, allocations: 0 / 0.5059 GB, free: 13.78 MB / 394.7 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.01505/0.6658, allocations: 2.895 MB / 0.5088 GB, free: 10.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.6658, allocations: 8.031 kB / 0.5088 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001706/0.6676, allocations: 377.7 kB / 0.5091 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.6709, allocations: 329.2 kB / 0.5095 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005352/0.6763, allocations: 1.308 MB / 0.5107 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.6767, allocations: 183.2 kB / 0.5109 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.6777, allocations: 243.9 kB / 0.5111 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01331/0.6911, allocations: 3.78 MB / 0.5148 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.6913, allocations: 0 / 0.5148 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009697/0.6922, allocations: 116 kB / 0.5149 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.761e-05/0.6924, allocations: 56 kB / 0.515 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/0.7106, allocations: 5.971 MB / 0.5208 GB, free: 14.36 MB / 410.7 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.03874/0.7495, allocations: 11.18 MB / 0.5317 GB, free: 2.332 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2775/1.027, allocations: 5.018 MB / 0.5366 GB, free: 140.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/1.028, allocations: 432.7 kB / 0.5371 GB, free: 140.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/1.028, allocations: 103.3 kB / 0.5372 GB, free: 140.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=390): time 7.194e-06/1.028, allocations: 0 / 0.5372 GB, free: 140.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=390): time 0.02078/1.049, allocations: 5.785 MB / 0.5428 GB, free: 138.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.642e-05/1.049, allocations: 90.78 kB / 0.5429 GB, free: 138.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/1.051, allocations: 0.8632 MB / 0.5437 GB, free: 138.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001034/1.052, allocations: 104.7 kB / 0.5438 GB, free: 138.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/1.053, allocations: 0.5327 MB / 0.5444 GB, free: 137.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002004/1.055, allocations: 1.309 MB / 0.5456 GB, free: 136.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003921/1.055, allocations: 73.45 kB / 0.5457 GB, free: 136.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003365/1.056, allocations: 460.5 kB / 0.5461 GB, free: 136.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005737/1.061, allocations: 1.732 MB / 0.5478 GB, free: 136 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006174/1.068, allocations: 2.235 MB / 0.55 GB, free: 135.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006336/1.074, allocations: 2.098 MB / 0.5521 GB, free: 134.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.117e-05/1.074, allocations: 3.938 kB / 0.5521 GB, free: 134.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01269/1.087, allocations: 4.51 MB / 0.5565 GB, free: 132.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/1.087, allocations: 13.25 kB / 0.5565 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/1.087, allocations: 11.47 kB / 0.5565 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.075e-05/1.087, allocations: 30.34 kB / 0.5565 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007324/1.094, allocations: 0.7913 MB / 0.5573 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.041e-05/1.094, allocations: 35.02 kB / 0.5573 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004908/1.099, allocations: 427.3 kB / 0.5577 GB, free: 132.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005785/1.1, allocations: 151.3 kB / 0.5579 GB, free: 132.1 MB / 410.7 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.002043/1.102, allocations: 0.7582 MB / 0.5586 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007919/1.103, allocations: 205.4 kB / 0.5588 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/1.116, allocations: 5.177 MB / 0.5639 GB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.014e-05/1.117, allocations: 40 kB / 0.5639 GB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.117, allocations: 0 / 0.5639 GB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.779e-05/1.117, allocations: 20.95 kB / 0.5639 GB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007498/1.124, allocations: 2.824 MB / 0.5667 GB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.56e-05/1.124, allocations: 0 / 0.5667 GB, free: 123.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007085/1.131, allocations: 0.7293 MB / 0.5674 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.916e-05/1.131, allocations: 16 kB / 0.5674 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004656/1.132, allocations: 95.95 kB / 0.5675 GB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.44e-05/1.132, allocations: 12 kB / 0.5675 GB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.132, allocations: 0 / 0.5675 GB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01771/1.15, allocations: 7.187 MB / 0.5745 GB, free: 115.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008387/1.151, allocations: 357.7 kB / 0.5749 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.152, allocations: 75.98 kB / 0.575 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006305/1.158, allocations: 300.6 kB / 0.5752 GB, free: 114.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/1.159, allocations: 306.9 kB / 0.5755 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007507/1.16, allocations: 183.9 kB / 0.5757 GB, free: 114.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001277/1.161, allocations: 0.6785 MB / 0.5764 GB, free: 113.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.4e-07/1.161, allocations: 0 / 0.5764 GB, free: 113.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004303/1.166, allocations: 1.086 MB / 0.5774 GB, free: 112.6 MB / 410.7 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.02094/1.187, allocations: 8.09 MB / 0.5853 GB, free: 104.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01169/1.199, allocations: 4.25 MB / 0.5895 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/1.199, allocations: 9 kB / 0.5895 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006127/1.205, allocations: 2.253 MB / 0.5917 GB, free: 98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/1.215, allocations: 1.16 MB / 0.5928 GB, free: 96.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07149/1.286, allocations: 25.92 MB / 0.6181 GB, free: 70.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/1.29, allocations: 1.884 MB / 0.62 GB, free: 68.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005702/1.295, allocations: 0.9093 MB / 0.6209 GB, free: 67.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.415e-06/1.295, allocations: 4 kB / 0.6209 GB, free: 67.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.688/5.983, allocations: 55.67 MB / 0.6752 GB, free: 11.53 MB / 410.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat