Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008905/0.0008903, allocations: 96.34 kB / 281.2 MB, free: 5.254 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.204e-05/2.172e-05, allocations: 4 kB / 337.1 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1243, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.292/9.417, allocations: 3.325 GB / 3.704 GB, free: 128.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/9.417, allocations: 67.97 kB / 3.704 GB, free: 128.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2383/9.655, allocations: 101.8 MB / 3.803 GB, free: 25.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.515e-06/9.655, allocations: 4 kB / 3.803 GB, free: 25.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.489e-05/9.655, allocations: 52 kB / 3.803 GB, free: 25.7 MB / 442.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.008899/9.664, allocations: 2.679 MB / 3.806 GB, free: 22.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/9.664, allocations: 8.031 kB / 3.806 GB, free: 22.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002627/9.667, allocations: 325.2 kB / 3.806 GB, free: 22.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/9.67, allocations: 1.33 MB / 3.808 GB, free: 21.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/9.67, allocations: 76 kB / 3.808 GB, free: 21.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003524/9.671, allocations: 144 kB / 3.808 GB, free: 21.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007323/9.678, allocations: 5.665 MB / 3.813 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005901/9.684, allocations: 3.302 MB / 3.817 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.865e-05/9.684, allocations: 3.938 kB / 3.817 GB, free: 12.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005069/9.685, allocations: 8 kB / 3.817 GB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/9.685, allocations: 60 kB / 3.817 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01958/9.704, allocations: 10.16 MB / 3.827 GB, free: 1.082 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.391/10.1, allocations: 4.775 MB / 3.831 GB, free: 101.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004252/10.1, allocations: 2.224 MB / 3.833 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007859/10.1, allocations: 441.7 kB / 3.834 GB, free: 100.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000132/10.1, allocations: 102.6 kB / 3.834 GB, free: 100.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=390): time 6.663e-06/10.1, allocations: 0 / 3.834 GB, free: 100.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=390): time 0.01056/10.11, allocations: 4.317 MB / 3.838 GB, free: 100.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/10.11, allocations: 91.91 kB / 3.838 GB, free: 100.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/10.11, allocations: 0.5311 MB / 3.839 GB, free: 100.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005127/10.11, allocations: 30.86 kB / 3.839 GB, free: 100.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000484/10.11, allocations: 0.5349 MB / 3.839 GB, free: 99.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001358/10.11, allocations: 1.251 MB / 3.841 GB, free: 99.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/10.11, allocations: 0 / 3.841 GB, free: 99.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002993/10.12, allocations: 492.9 kB / 3.841 GB, free: 99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/10.12, allocations: 1.619 MB / 3.843 GB, free: 98.99 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/10.12, allocations: 2.104 MB / 3.845 GB, free: 98.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006668/10.13, allocations: 2.554 MB / 3.847 GB, free: 98.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-05/10.13, allocations: 2.688 kB / 3.847 GB, free: 98.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01053/10.14, allocations: 4.745 MB / 3.852 GB, free: 98.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/10.14, allocations: 7.625 kB / 3.852 GB, free: 98.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.95e-05/10.14, allocations: 11.06 kB / 3.852 GB, free: 98.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.939e-05/10.14, allocations: 30.5 kB / 3.852 GB, free: 98.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003903/10.14, allocations: 0.7892 MB / 3.853 GB, free: 98.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.798e-05/10.14, allocations: 36.22 kB / 3.853 GB, free: 98.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/10.15, allocations: 330 kB / 3.853 GB, free: 98.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003219/10.15, allocations: 147.2 kB / 3.853 GB, free: 98.25 MB / 442.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 () * 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.0008951/10.15, allocations: 180.5 kB / 3.853 GB, free: 98.14 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007778/10.16, allocations: 4.327 MB / 3.858 GB, free: 97.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/10.16, allocations: 186.9 kB / 3.858 GB, free: 97.86 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009667/10.17, allocations: 5.309 MB / 3.863 GB, free: 97.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/10.17, allocations: 40.97 kB / 3.863 GB, free: 97.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/10.17, allocations: 2.625 kB / 3.863 GB, free: 97.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-05/10.17, allocations: 20.44 kB / 3.863 GB, free: 97.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005049/10.17, allocations: 2.477 MB / 3.865 GB, free: 97.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/10.17, allocations: 0 / 3.865 GB, free: 97.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003226/10.17, allocations: 0.7297 MB / 3.866 GB, free: 97.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.154e-05/10.17, allocations: 14.7 kB / 3.866 GB, free: 97.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001955/10.17, allocations: 38.23 kB / 3.866 GB, free: 97.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-05/10.17, allocations: 17.22 kB / 3.866 GB, free: 97.35 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/10.17, allocations: 0 / 3.866 GB, free: 97.35 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/10.19, allocations: 7.295 MB / 3.873 GB, free: 95.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009137/10.19, allocations: 341.3 kB / 3.874 GB, free: 95.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/10.19, allocations: 6.344 kB / 3.874 GB, free: 95.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/10.19, allocations: 209.7 kB / 3.874 GB, free: 95.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000498/10.19, allocations: 311.2 kB / 3.874 GB, free: 95.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003709/10.19, allocations: 176.1 kB / 3.874 GB, free: 95.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005552/10.19, allocations: 473.8 kB / 3.875 GB, free: 95.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/10.19, allocations: 0 / 3.875 GB, free: 95.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003197/10.19, allocations: 1.01 MB / 3.876 GB, free: 94.95 MB / 442.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 () * 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.01296/10.21, allocations: 8.606 MB / 3.884 GB, free: 92.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005875/10.21, allocations: 3.981 MB / 3.888 GB, free: 91.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.708e-05/10.21, allocations: 6.344 kB / 3.888 GB, free: 91.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002683/10.22, allocations: 2.118 MB / 3.89 GB, free: 90.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/10.22, allocations: 0.8782 MB / 3.891 GB, free: 90.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/10.24, allocations: 6.453 MB / 3.897 GB, free: 89.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/10.24, allocations: 1.888 MB / 3.899 GB, free: 88.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006031/10.25, allocations: 1.72 MB / 3.901 GB, free: 87.47 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/10.25, allocations: 0.8654 MB / 3.902 GB, free: 86.69 MB / 442.7 MB Notification: Performance of SimCode: time 4.288e-06/10.25, allocations: 4 kB / 3.902 GB, free: 86.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/10.37, allocations: 75.14 MB / 3.975 GB, free: 20.57 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/10.38, allocations: 161.8 kB / 3.975 GB, free: 20.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.067/15.44, allocations: 0 / 3.975 GB, free: 20.38 MB / 442.7 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat does not exist to compare? outputFormat=mat