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.001481/0.001481, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7332/0.7332, allocations: 133.6 MB / 141.6 MB, free: 2.918 MB / 106.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: 221.5 MB / 395.4 MB, free: 10.79 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.0009333/0.0009335, allocations: 94.22 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.209e-05, allocations: 4 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4915/0.4916, allocations: 82.3 MB / 0.6339 GB, free: 40.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.6783, allocations: 137.2 MB / 0.7679 GB, free: 1.527 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.6786, allocations: 75.95 kB / 0.768 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003756/0.6824, allocations: 1.65 MB / 0.7696 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6824, allocations: 0 / 0.7696 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.6824, allocations: 0 / 0.7696 GB, free: 15.8 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.0003168/0.6828, allocations: 328.5 kB / 0.7699 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.6828, allocations: 8.031 kB / 0.7699 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.6829, allocations: 11.86 kB / 0.7699 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.683, allocations: 171 kB / 0.7701 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.6831, allocations: 25.7 kB / 0.7701 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.6831, allocations: 4 kB / 0.7701 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.669e-05/0.6832, allocations: 4 kB / 0.7701 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.757e-05/0.6832, allocations: 37.69 kB / 0.7702 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.6833, allocations: 3.938 kB / 0.7702 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.6833, allocations: 0 / 0.7702 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6833, allocations: 0 / 0.7702 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.6834, allocations: 142.2 kB / 0.7703 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.258e-05/0.6835, allocations: 18.58 kB / 0.7703 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.6835, allocations: 12.86 kB / 0.7703 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001544/0.6837, allocations: 89.23 kB / 0.7704 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.6837, allocations: 34.56 kB / 0.7705 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.6837, allocations: 0 / 0.7705 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001727/0.6839, allocations: 45.69 kB / 0.7705 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.684, allocations: 59.34 kB / 0.7706 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.094e-05/0.684, allocations: 85 kB / 0.7706 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.6841, allocations: 25.7 kB / 0.7707 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.6841, allocations: 80.14 kB / 0.7707 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.6841, allocations: 15.89 kB / 0.7707 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.6842, allocations: 0 / 0.7707 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6843, allocations: 314.8 kB / 0.771 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.6843, allocations: 4 kB / 0.7711 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.6843, allocations: 4 kB / 0.7711 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.6844, allocations: 11.98 kB / 0.7711 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.6844, allocations: 7.938 kB / 0.7711 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.445e-05/0.6845, allocations: 41.59 kB / 0.7711 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.6845, allocations: 8 kB / 0.7711 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6845, allocations: 0 / 0.7711 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.6845, allocations: 3.938 kB / 0.7711 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.6846, allocations: 4 kB / 0.7711 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.6846, allocations: 0 / 0.7711 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.6847, allocations: 8.375 kB / 0.7711 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.6847, allocations: 3.984 kB / 0.7711 GB, free: 14 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 () * 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.499e-05/0.6848, allocations: 112.9 kB / 0.7712 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.27e-05/0.6849, allocations: 45.67 kB / 0.7713 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.6849, allocations: 8.031 kB / 0.7713 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.685, allocations: 45.81 kB / 0.7713 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.685, allocations: 4 kB / 0.7713 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.685, allocations: 0 / 0.7713 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.685, allocations: 0 / 0.7713 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.699e-05/0.6851, allocations: 138.2 kB / 0.7715 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6851, allocations: 7.938 kB / 0.7715 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.6852, allocations: 4 kB / 0.7715 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.6852, allocations: 0 / 0.7715 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.6852, allocations: 3.984 kB / 0.7715 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6852, allocations: 0 / 0.7715 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.6852, allocations: 4 kB / 0.7715 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.6853, allocations: 76.98 kB / 0.7716 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.6854, allocations: 77.11 kB / 0.7716 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.6854, allocations: 4 kB / 0.7716 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.137e-05/0.6855, allocations: 3.984 kB / 0.7717 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.6855, allocations: 4 kB / 0.7717 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.6855, allocations: 0 / 0.7717 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.897e-05/0.6856, allocations: 83.28 kB / 0.7717 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6856, allocations: 0 / 0.7717 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001812/0.6858, allocations: 11.94 kB / 0.7717 GB, free: 13.29 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 () * 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.0005067/0.6863, allocations: 0.6475 MB / 0.7724 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.255e-05/0.6864, allocations: 12 kB / 0.7724 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.6864, allocations: 0 / 0.7724 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.6864, allocations: 8 kB / 0.7724 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.6866, allocations: 15.88 kB / 0.7724 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.6869, allocations: 89.64 kB / 0.7725 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.6873, allocations: 0.6807 MB / 0.7732 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.446e-05/0.6874, allocations: 3.984 kB / 0.7732 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.6874, allocations: 7.438 kB / 0.7732 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.6874, allocations: 4 kB / 0.7732 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.7063, allocations: 1.099 MB / 0.7743 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.7065, allocations: 145.1 kB / 0.7744 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/2.153, allocations: 0 / 0.7744 GB, free: 10.45 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)