Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",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.007202/0.007203, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8144/0.8144, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.755/1.755, allocations: 223.1 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008735/0.0008738, allocations: 97.12 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.0003391, allocations: 11.98 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4038, allocations: 82.3 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.576, allocations: 138.5 MB / 0.7848 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5762, allocations: 79.95 kB / 0.7848 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.005437/0.5817, allocations: 2.203 MB / 0.787 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5817, allocations: 0 / 0.787 GB, free: 7.18 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.5817, allocations: 192 / 0.787 GB, free: 7.18 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004394/0.5821, allocations: 387.1 kB / 0.7874 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5822, allocations: 8.031 kB / 0.7874 GB, free: 6.746 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.5822, allocations: 38.56 kB / 0.7874 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.5823, allocations: 11.84 kB / 0.7874 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.5824, allocations: 167 kB / 0.7876 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.5824, allocations: 4 kB / 0.7876 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.5824, allocations: 0 / 0.7876 GB, free: 6.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.5827, allocations: 85.64 kB / 0.7877 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.5827, allocations: 3.984 kB / 0.7877 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.5827, allocations: 8 kB / 0.7877 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.5827, allocations: 0 / 0.7877 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.583, allocations: 95.81 kB / 0.7878 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.5834, allocations: 280.8 kB / 0.788 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.5836, allocations: 66.53 kB / 0.7881 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.5838, allocations: 93.19 kB / 0.7882 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.5838, allocations: 34.5 kB / 0.7882 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.5838, allocations: 0 / 0.7882 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0005383/0.5844, allocations: 173.4 kB / 0.7884 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.5844, allocations: 55.41 kB / 0.7884 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.5845, allocations: 108.9 kB / 0.7885 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.5845, allocations: 25.7 kB / 0.7886 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.5846, allocations: 92.2 kB / 0.7887 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.5846, allocations: 7.906 kB / 0.7887 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.5846, allocations: 0 / 0.7887 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5847, allocations: 318.8 kB / 0.789 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5849, allocations: 39.97 kB / 0.789 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.585, allocations: 51.89 kB / 0.7891 GB, free: 4.836 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.5852, allocations: 39.97 kB / 0.7891 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5852, allocations: 0 / 0.7891 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003258/0.5855, allocations: 121.5 kB / 0.7892 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.5855, allocations: 5.094 kB / 0.7892 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5855, allocations: 3.984 kB / 0.7892 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.5856, allocations: 11.95 kB / 0.7892 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.5857, allocations: 15.98 kB / 0.7892 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5857, allocations: 4 kB / 0.7893 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.5858, allocations: 19.98 kB / 0.7893 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5858, allocations: 336 / 0.7893 GB, free: 4.613 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.957e-05/0.5859, allocations: 109.8 kB / 0.7894 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.5859, allocations: 7.906 kB / 0.7894 GB, free: 4.488 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.5863, allocations: 145.4 kB / 0.7895 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5863, allocations: 0 / 0.7895 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5863, allocations: 3.953 kB / 0.7895 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5863, allocations: 0 / 0.7895 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.5865, allocations: 165.7 kB / 0.7897 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5865, allocations: 7.938 kB / 0.7897 GB, free: 4.109 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5866, allocations: 23.97 kB / 0.7897 GB, free: 4.086 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.5866, allocations: 4 kB / 0.7897 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.5866, allocations: 0 / 0.7897 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5867, allocations: 0 / 0.7897 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5867, allocations: 4 kB / 0.7897 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.587, allocations: 227.3 kB / 0.7899 GB, free: 3.84 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.5871, allocations: 81.11 kB / 0.79 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.5871, allocations: 0 / 0.79 GB, free: 3.742 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.5872, allocations: 23.92 kB / 0.79 GB, free: 3.719 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.5873, allocations: 7.984 kB / 0.79 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.5873, allocations: 0 / 0.79 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.5873, allocations: 95.23 kB / 0.7901 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5873, allocations: 0 / 0.7901 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002349/0.5876, allocations: 15.98 kB / 0.7902 GB, free: 3.602 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007036/0.5883, allocations: 0.7826 MB / 0.7909 GB, free: 2.793 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.5886, allocations: 95.86 kB / 0.791 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5886, allocations: 0 / 0.791 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.5888, allocations: 51.95 kB / 0.7911 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.589, allocations: 4 kB / 0.7911 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.5901, allocations: 0.5798 MB / 0.7916 GB, free: 2.016 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.5903, allocations: 0.6809 MB / 0.7923 GB, free: 1.309 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.962e-05/0.5904, allocations: 7.984 kB / 0.7923 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.5904, allocations: 19.44 kB / 0.7923 GB, free: 1.281 MB / 0.5573 GB Notification: Performance of SimCode: time 2.995e-06/0.5904, allocations: 4 kB / 0.7923 GB, free: 1.277 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3258/0.9162, allocations: 2.238 MB / 0.7945 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.9165, allocations: 168.9 kB / 0.7947 GB, free: 143 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.463, allocations: 0 / 0.7947 GB, free: 143 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)