Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_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.006546/0.006545, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7375/0.7375, 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.6/1.6, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009255/0.0009255, allocations: 96.69 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.0003549, allocations: 15.98 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3927, allocations: 82.3 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.5675, allocations: 137.9 MB / 0.7842 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.5678, allocations: 79.95 kB / 0.7843 GB, free: 9.93 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.003839/0.5717, allocations: 1.666 MB / 0.7859 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5717, allocations: 0 / 0.7859 GB, free: 8.266 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.5717, allocations: 4 kB / 0.7859 GB, free: 8.262 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003152/0.5721, allocations: 327.5 kB / 0.7863 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5721, allocations: 15.97 kB / 0.7863 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.5722, allocations: 38.55 kB / 0.7863 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.5722, allocations: 3.953 kB / 0.7863 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.5723, allocations: 167 kB / 0.7865 GB, free: 7.625 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.5724, allocations: 25.7 kB / 0.7865 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.5724, allocations: 4 kB / 0.7865 GB, free: 7.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.5725, allocations: 41.69 kB / 0.7865 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.5725, allocations: 0 / 0.7865 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.5726, allocations: 0 / 0.7865 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.5726, allocations: 0 / 0.7865 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.5727, allocations: 15.94 kB / 0.7866 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.5728, allocations: 157.6 kB / 0.7867 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.879e-05/0.5729, allocations: 34.61 kB / 0.7867 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.5731, allocations: 93.19 kB / 0.7868 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.5731, allocations: 30.56 kB / 0.7869 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5731, allocations: 0 / 0.7869 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002138/0.5733, allocations: 57.62 kB / 0.7869 GB, free: 7.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5734, allocations: 51.41 kB / 0.787 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.5734, allocations: 92.98 kB / 0.787 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.5734, allocations: 33.64 kB / 0.7871 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.5735, allocations: 80.14 kB / 0.7872 GB, free: 6.789 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.5735, allocations: 15.81 kB / 0.7872 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.5735, allocations: 3.938 kB / 0.7872 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.912e-05/0.5736, allocations: 314.8 kB / 0.7875 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.272e-05/0.5737, allocations: 7.984 kB / 0.7875 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.365e-05/0.5737, allocations: 8 kB / 0.7875 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.5738, allocations: 7.984 kB / 0.7875 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5738, allocations: 8 kB / 0.7875 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001147/0.5739, allocations: 46.16 kB / 0.7876 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5739, allocations: 5.25 kB / 0.7876 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.5739, allocations: 0 / 0.7876 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.5739, allocations: 0 / 0.7876 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.574, allocations: 15.97 kB / 0.7876 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.574, allocations: 0 / 0.7876 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.574, allocations: 3.984 kB / 0.7876 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.5741, allocations: 4 kB / 0.7876 GB, free: 6.344 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.444e-05/0.5741, allocations: 113.8 kB / 0.7877 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.5741, allocations: 4 kB / 0.7877 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.5743, allocations: 57.17 kB / 0.7877 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5743, allocations: 0 / 0.7877 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.5743, allocations: 0 / 0.7877 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.5743, allocations: 0 / 0.7877 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.948e-05/0.5744, allocations: 161.6 kB / 0.7879 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.5745, allocations: 4 kB / 0.7879 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.5745, allocations: 7.938 kB / 0.7879 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5745, allocations: 4 kB / 0.7879 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.5745, allocations: 4 kB / 0.7879 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5745, allocations: 0 / 0.7879 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.5745, allocations: 0 / 0.7879 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.5747, allocations: 84.97 kB / 0.788 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.5747, allocations: 81.05 kB / 0.7881 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.5747, allocations: 3.984 kB / 0.7881 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.741e-05/0.5748, allocations: 4 kB / 0.7881 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.5748, allocations: 4 kB / 0.7881 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.5748, allocations: 0 / 0.7881 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.5749, allocations: 79.28 kB / 0.7882 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5749, allocations: 0 / 0.7882 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001813/0.5751, allocations: 15.98 kB / 0.7882 GB, free: 5.621 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.0004958/0.5756, allocations: 0.6474 MB / 0.7888 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.5757, allocations: 23.92 kB / 0.7888 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5757, allocations: 0 / 0.7888 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/0.5757, allocations: 15.92 kB / 0.7888 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.5759, allocations: 4 kB / 0.7889 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.5763, allocations: 178.2 kB / 0.789 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.5765, allocations: 0.677 MB / 0.7897 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.5766, allocations: 4 kB / 0.7897 GB, free: 3.977 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.5766, allocations: 11.44 kB / 0.7897 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of SimCode: time 2.3e-07/0.5766, allocations: 0 / 0.7897 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.5889, allocations: 1.682 MB / 0.7913 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.5891, allocations: 188 kB / 0.7915 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.13, allocations: 0 / 0.7915 GB, free: 2.18 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)