Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_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.006426/0.006426, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8835/0.8835, allocations: 135.2 MB / 151 MB, free: 13.82 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.566/1.566, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001086/0.001086, allocations: 99.02 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005539/0.0005538, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4385, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.6263, allocations: 138.5 MB / 0.7848 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.6266, allocations: 79.95 kB / 0.7848 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.005648/0.6322, allocations: 2.203 MB / 0.787 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.176e-06/0.6323, allocations: 4 kB / 0.787 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6323, allocations: 4 kB / 0.787 GB, free: 7.137 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.000505/0.6328, allocations: 383.3 kB / 0.7874 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.6328, allocations: 11.97 kB / 0.7874 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.6329, allocations: 30.56 kB / 0.7874 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.6329, allocations: 15.86 kB / 0.7874 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.6331, allocations: 167.1 kB / 0.7876 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.6331, allocations: 0 / 0.7876 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.6331, allocations: 7.984 kB / 0.7876 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.6334, allocations: 77.66 kB / 0.7877 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.6334, allocations: 4 kB / 0.7877 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.6334, allocations: 0 / 0.7877 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.6334, allocations: 7.984 kB / 0.7877 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.6337, allocations: 103.8 kB / 0.7878 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.6341, allocations: 276.7 kB / 0.788 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.6343, allocations: 74.47 kB / 0.7881 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.6345, allocations: 89.19 kB / 0.7882 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6345, allocations: 38.5 kB / 0.7882 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6345, allocations: 0 / 0.7882 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000535/0.6351, allocations: 165.5 kB / 0.7884 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.6351, allocations: 55.41 kB / 0.7884 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.6352, allocations: 112.9 kB / 0.7886 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.6352, allocations: 25.7 kB / 0.7886 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.6353, allocations: 88.12 kB / 0.7887 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.6353, allocations: 15.97 kB / 0.7887 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/0.6353, allocations: 4 kB / 0.7887 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.415e-05/0.6354, allocations: 310.8 kB / 0.789 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.6356, allocations: 43.95 kB / 0.789 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.6357, allocations: 43.97 kB / 0.7891 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.6359, allocations: 47.89 kB / 0.7891 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6359, allocations: 4 kB / 0.7891 GB, free: 4.746 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.6362, allocations: 121.5 kB / 0.7892 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6362, allocations: 4 kB / 0.7892 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.6362, allocations: 0 / 0.7892 GB, free: 4.617 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6362, allocations: 3.953 kB / 0.7892 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.6364, allocations: 19.98 kB / 0.7893 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6364, allocations: 3.984 kB / 0.7893 GB, free: 4.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.685e-05/0.6365, allocations: 19.98 kB / 0.7893 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.6365, allocations: 0 / 0.7893 GB, free: 4.57 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 7.774e-05/0.6366, allocations: 116.1 kB / 0.7894 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.6366, allocations: 3.906 kB / 0.7894 GB, free: 4.445 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.637, allocations: 137.4 kB / 0.7895 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.637, allocations: 0 / 0.7895 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.637, allocations: 7.953 kB / 0.7895 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.637, allocations: 4 kB / 0.7895 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.6372, allocations: 169.6 kB / 0.7897 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6372, allocations: 0 / 0.7897 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.6373, allocations: 19.98 kB / 0.7897 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6373, allocations: 0 / 0.7897 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.6373, allocations: 3.984 kB / 0.7897 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.6373, allocations: 0 / 0.7897 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6373, allocations: 0 / 0.7897 GB, free: 4.047 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.6377, allocations: 231.7 kB / 0.7899 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.674e-05/0.6377, allocations: 77.11 kB / 0.79 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.6378, allocations: 48 / 0.79 GB, free: 3.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.6379, allocations: 23.95 kB / 0.79 GB, free: 3.688 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.6379, allocations: 7.938 kB / 0.79 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.638, allocations: 7.938 kB / 0.7901 GB, free: 3.672 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.311e-05/0.638, allocations: 99.22 kB / 0.7901 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.638, allocations: 0 / 0.7901 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002239/0.6382, allocations: 12 kB / 0.7902 GB, free: 3.562 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.00071/0.639, allocations: 0.7826 MB / 0.7909 GB, free: 2.754 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.6393, allocations: 95.86 kB / 0.791 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6393, allocations: 0 / 0.791 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.6395, allocations: 43.97 kB / 0.7911 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.6397, allocations: 15.98 kB / 0.7911 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.6407, allocations: 0.5684 MB / 0.7916 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.641, allocations: 0.6926 MB / 0.7923 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.641, allocations: 0 / 0.7923 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.6411, allocations: 19.44 kB / 0.7923 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of SimCode: time 2.51e-07/0.6411, allocations: 0 / 0.7923 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3223/0.9633, allocations: 2.25 MB / 0.7945 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/0.9635, allocations: 169.5 kB / 0.7947 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.553, allocations: 0.7188 kB / 0.7947 GB, free: 142.9 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)