Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_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.006034/0.006034, 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.7251/0.7251, allocations: 135.2 MB / 151 MB, free: 13.8 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.389/1.389, allocations: 223.2 MB / 406.8 MB, free: 3.215 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.0009046/0.0009045, allocations: 94.84 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3648, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.5667, allocations: 137.9 MB / 0.7842 GB, free: 9.984 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/0.5672, allocations: 75.95 kB / 0.7843 GB, free: 9.91 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.007255/0.5744, allocations: 1.673 MB / 0.7859 GB, free: 8.238 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5745, allocations: 4 kB / 0.7859 GB, free: 8.234 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.5745, allocations: 0 / 0.7859 GB, free: 8.234 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.0004299/0.5749, allocations: 331.3 kB / 0.7863 GB, free: 7.863 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.575, allocations: 15.97 kB / 0.7863 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.322e-05/0.5751, allocations: 30.56 kB / 0.7863 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.5752, allocations: 3.953 kB / 0.7863 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.5753, allocations: 171 kB / 0.7865 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.5755, allocations: 33.69 kB / 0.7865 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.5755, allocations: 4 kB / 0.7865 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.5757, allocations: 37.69 kB / 0.7865 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5757, allocations: 0 / 0.7865 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.5757, allocations: 192 / 0.7865 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.5758, allocations: 0 / 0.7865 GB, free: 7.512 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.5759, allocations: 23.88 kB / 0.7866 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.5762, allocations: 153.7 kB / 0.7867 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.5763, allocations: 34.56 kB / 0.7867 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.5766, allocations: 93.19 kB / 0.7868 GB, free: 7.137 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.5766, allocations: 30.56 kB / 0.7869 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.5766, allocations: 0 / 0.7869 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.000316/0.577, allocations: 57.61 kB / 0.7869 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.577, allocations: 55.41 kB / 0.787 GB, free: 6.969 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.5771, allocations: 93 kB / 0.7871 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.5772, allocations: 25.7 kB / 0.7871 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.926e-05/0.5772, allocations: 80.14 kB / 0.7872 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.5773, allocations: 15.8 kB / 0.7872 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.5773, allocations: 3.938 kB / 0.7872 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5774, allocations: 318.8 kB / 0.7875 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.5775, allocations: 4 kB / 0.7875 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.15e-05/0.5776, allocations: 7.984 kB / 0.7875 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.977e-05/0.5777, allocations: 16 kB / 0.7875 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5777, allocations: 0 / 0.7875 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001766/0.5779, allocations: 53.61 kB / 0.7876 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.5779, allocations: 4 kB / 0.7876 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5779, allocations: 0 / 0.7876 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.578, allocations: 4 kB / 0.7876 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.5781, allocations: 4 kB / 0.7876 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.5781, allocations: 0 / 0.7876 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.5781, allocations: 0 / 0.7876 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.5782, allocations: 8 kB / 0.7876 GB, free: 6.312 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 0.0001005/0.5783, allocations: 113.8 kB / 0.7877 GB, free: 6.191 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.5783, allocations: 3.984 kB / 0.7877 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.5785, allocations: 61.12 kB / 0.7877 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5785, allocations: 0 / 0.7877 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.5786, allocations: 0 / 0.7877 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5786, allocations: 3.984 kB / 0.7878 GB, free: 6.113 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.5787, allocations: 157.6 kB / 0.7879 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5788, allocations: 0 / 0.7879 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.5788, allocations: 11.98 kB / 0.7879 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.5788, allocations: 0 / 0.7879 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5789, allocations: 4 kB / 0.7879 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5789, allocations: 0 / 0.7879 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5789, allocations: 0 / 0.7879 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.5791, allocations: 81.53 kB / 0.788 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-05/0.5792, allocations: 81.05 kB / 0.7881 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.5793, allocations: 4 kB / 0.7881 GB, free: 5.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.708e-05/0.5793, allocations: 8 kB / 0.7881 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.5794, allocations: 7.922 kB / 0.7881 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.5794, allocations: 48 / 0.7881 GB, free: 5.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.5794, allocations: 83.27 kB / 0.7882 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5794, allocations: 0 / 0.7882 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003289/0.5798, allocations: 8 kB / 0.7882 GB, free: 5.59 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.0007037/0.5805, allocations: 0.6514 MB / 0.7888 GB, free: 4.906 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.5807, allocations: 23.92 kB / 0.7888 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.5807, allocations: 0 / 0.7888 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.1e-05/0.5808, allocations: 8 kB / 0.7888 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.581, allocations: 8.672 kB / 0.7889 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.5816, allocations: 178.2 kB / 0.789 GB, free: 4.652 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.582, allocations: 0.677 MB / 0.7897 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.574e-05/0.5821, allocations: 8 kB / 0.7897 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.5821, allocations: 7.438 kB / 0.7897 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of SimCode: time 4.228e-06/0.5821, allocations: 0 / 0.7897 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.5969, allocations: 1.686 MB / 0.7913 GB, free: 2.379 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.5972, allocations: 176.1 kB / 0.7915 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/2.114, allocations: 0 / 0.7915 GB, free: 2.145 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)