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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001901/0.001901, allocations: 181.2 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008029/0.000803, allocations: 93.66 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002628, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.246, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.466/7.712, allocations: 3.623 GB / 3.99 GB, free: 3.723 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/7.713, allocations: 71.22 kB / 3.99 GB, free: 3.688 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4513/8.164, allocations: 104.4 MB / 4.092 GB, free: 76.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/8.164, allocations: 0 / 4.092 GB, free: 76.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.786e-05/8.164, allocations: 47.98 kB / 4.092 GB, free: 76.19 MB / 426.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.009749/8.174, allocations: 2.796 MB / 4.094 GB, free: 73.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/8.174, allocations: 12.03 kB / 4.094 GB, free: 73.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001504/8.175, allocations: 373.8 kB / 4.095 GB, free: 72.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/8.178, allocations: 321.2 kB / 4.095 GB, free: 72.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/8.182, allocations: 1.323 MB / 4.096 GB, free: 71.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/8.182, allocations: 188.9 kB / 4.097 GB, free: 71.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009454/8.183, allocations: 243.9 kB / 4.097 GB, free: 70.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007563/8.191, allocations: 3.745 MB / 4.101 GB, free: 67.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.192e-05/8.191, allocations: 3.953 kB / 4.101 GB, free: 67.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009737/8.192, allocations: 112 kB / 4.101 GB, free: 66.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/8.192, allocations: 60 kB / 4.101 GB, free: 66.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00828/8.2, allocations: 5.893 MB / 4.106 GB, free: 60.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02067/8.221, allocations: 10.63 MB / 4.117 GB, free: 49.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007012/8.228, allocations: 5.031 MB / 4.122 GB, free: 44.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007384/8.229, allocations: 447.3 kB / 4.122 GB, free: 44.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/8.229, allocations: 94.62 kB / 4.122 GB, free: 43.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 1.299e-05/8.229, allocations: 0 / 4.122 GB, free: 43.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.009902/8.239, allocations: 5.788 MB / 4.128 GB, free: 38.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/8.239, allocations: 94.47 kB / 4.128 GB, free: 38.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009695/8.24, allocations: 0.7768 MB / 4.129 GB, free: 37.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005369/8.241, allocations: 101.7 kB / 4.129 GB, free: 37.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/8.241, allocations: 0.5111 MB / 4.129 GB, free: 36.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001081/8.242, allocations: 1.309 MB / 4.131 GB, free: 35.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/8.242, allocations: 72 kB / 4.131 GB, free: 35.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002377/8.242, allocations: 0.4983 MB / 4.131 GB, free: 34.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002542/8.245, allocations: 1.728 MB / 4.133 GB, free: 32.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002888/8.248, allocations: 2.234 MB / 4.135 GB, free: 30.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00296/8.251, allocations: 2.099 MB / 4.137 GB, free: 28.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/8.251, allocations: 4 kB / 4.137 GB, free: 28.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00719/8.258, allocations: 4.567 MB / 4.142 GB, free: 23.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/8.258, allocations: 11.95 kB / 4.142 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/8.258, allocations: 12 kB / 4.142 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.914e-05/8.258, allocations: 28 kB / 4.142 GB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003644/8.262, allocations: 0.7918 MB / 4.142 GB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.137e-05/8.262, allocations: 35.92 kB / 4.142 GB, free: 23.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/8.265, allocations: 424.5 kB / 4.143 GB, free: 22.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/8.266, allocations: 147.9 kB / 4.143 GB, free: 22.45 MB / 426.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.001823/8.267, allocations: 0.7582 MB / 4.144 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009744/8.268, allocations: 209.8 kB / 4.144 GB, free: 21.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009002/8.277, allocations: 5.178 MB / 4.149 GB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-05/8.277, allocations: 40 kB / 4.149 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/8.277, allocations: 0 / 4.149 GB, free: 16.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.061e-05/8.278, allocations: 23.91 kB / 4.149 GB, free: 16.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00547/8.283, allocations: 2.815 MB / 4.152 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.53e-05/8.283, allocations: 3.984 kB / 4.152 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003656/8.287, allocations: 0.7255 MB / 4.152 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.391e-05/8.287, allocations: 16 kB / 4.152 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003923/8.287, allocations: 95.95 kB / 4.153 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.265e-05/8.287, allocations: 23.89 kB / 4.153 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/8.287, allocations: 0 / 4.153 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0105/8.298, allocations: 7.179 MB / 4.16 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/8.299, allocations: 369.6 kB / 4.16 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005658/8.299, allocations: 71.98 kB / 4.16 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003767/8.303, allocations: 283.6 kB / 4.16 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006397/8.304, allocations: 318.9 kB / 4.161 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007102/8.305, allocations: 187.8 kB / 4.161 GB, free: 4.004 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001159/8.306, allocations: 0.6746 MB / 4.161 GB, free: 3.332 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/8.306, allocations: 0 / 4.161 GB, free: 3.332 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004369/8.31, allocations: 1.14 MB / 4.163 GB, free: 2.191 MB / 426.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.2154/8.526, allocations: 8.502 MB / 4.171 GB, free: 107.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008237/8.534, allocations: 4.257 MB / 4.175 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/8.534, allocations: 8.062 kB / 4.175 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003868/8.538, allocations: 2.247 MB / 4.177 GB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006455/8.544, allocations: 1.17 MB / 4.178 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03849/8.583, allocations: 25.76 MB / 4.204 GB, free: 95.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/8.585, allocations: 1.884 MB / 4.205 GB, free: 95.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008222/8.593, allocations: 1.78 MB / 4.207 GB, free: 95.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/8.596, allocations: 0.8721 MB / 4.208 GB, free: 95.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/8.596, allocations: 0 / 4.208 GB, free: 95.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/8.716, allocations: 86.46 MB / 4.292 GB, free: 29.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/8.717, allocations: 212.3 kB / 4.293 GB, free: 29.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.205/13.92, allocations: 4 kB / 4.293 GB, free: 29.14 MB / 426.7 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) 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