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.001428/0.001427, allocations: 172.5 kB / 7.646 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.8662/0.8662, allocations: 133.6 MB / 141.6 MB, free: 2.949 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.488/1.488, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001047/0.001048, allocations: 97.2 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.167e-05/2.197e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5083, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.6942, allocations: 137.2 MB / 0.7679 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.6945, allocations: 75.95 kB / 0.768 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003658/0.6981, allocations: 1.642 MB / 0.7696 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6982, allocations: 0 / 0.7696 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.6982, allocations: 4 kB / 0.7696 GB, free: 15.68 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.000361/0.6986, allocations: 318.6 kB / 0.7699 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6986, allocations: 8.031 kB / 0.7699 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.6987, allocations: 11.86 kB / 0.7699 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.6988, allocations: 167 kB / 0.7701 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.6989, allocations: 37.69 kB / 0.7701 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.6989, allocations: 0 / 0.7701 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.605e-05/0.699, allocations: 12 kB / 0.7701 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.305e-05/0.699, allocations: 29.89 kB / 0.7702 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.699, allocations: 3.938 kB / 0.7702 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.6991, allocations: 0 / 0.7702 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6991, allocations: 0 / 0.7702 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.6992, allocations: 138.2 kB / 0.7703 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.018e-05/0.6993, allocations: 26.58 kB / 0.7703 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.6993, allocations: 12.86 kB / 0.7703 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.6995, allocations: 89.23 kB / 0.7704 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.6995, allocations: 30.56 kB / 0.7704 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.6995, allocations: 0 / 0.7704 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0001879/0.6997, allocations: 45.69 kB / 0.7705 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.6998, allocations: 55.34 kB / 0.7705 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.6998, allocations: 101 kB / 0.7706 GB, free: 14.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.6999, allocations: 25.7 kB / 0.7707 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.6999, allocations: 80.14 kB / 0.7707 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.6999, allocations: 3.906 kB / 0.7707 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.6999, allocations: 0 / 0.7707 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.7001, allocations: 318.8 kB / 0.7711 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.7001, allocations: 7.938 kB / 0.7711 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.116e-05/0.7001, allocations: 4 kB / 0.7711 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.514e-05/0.7002, allocations: 11.92 kB / 0.7711 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7002, allocations: 4 kB / 0.7711 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.117e-05/0.7003, allocations: 49.59 kB / 0.7711 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.7003, allocations: 5.875 kB / 0.7711 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7003, allocations: 0 / 0.7711 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7003, allocations: 0 / 0.7711 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.77e-05/0.7004, allocations: 8 kB / 0.7711 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.7004, allocations: 0 / 0.7711 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.7005, allocations: 3.984 kB / 0.7711 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.7005, allocations: 3.938 kB / 0.7711 GB, free: 13.88 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.044e-05/0.7005, allocations: 112.9 kB / 0.7713 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.588e-05/0.7006, allocations: 46.06 kB / 0.7713 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-06/0.7007, allocations: 0 / 0.7713 GB, free: 13.71 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.7008, allocations: 53.84 kB / 0.7713 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.7008, allocations: 0 / 0.7713 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7008, allocations: 0 / 0.7713 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.7008, allocations: 3.984 kB / 0.7714 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.7009, allocations: 134.1 kB / 0.7715 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.7009, allocations: 0 / 0.7715 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.701, allocations: 7.984 kB / 0.7715 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.701, allocations: 4 kB / 0.7715 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.701, allocations: 4 kB / 0.7715 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.701, allocations: 0 / 0.7715 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.701, allocations: 0 / 0.7715 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.7011, allocations: 72.98 kB / 0.7716 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.7012, allocations: 85.09 kB / 0.7716 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.7012, allocations: 4 kB / 0.7716 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.9e-05/0.7013, allocations: 0 / 0.7716 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.7013, allocations: 4 kB / 0.7717 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.7013, allocations: 8 kB / 0.7717 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.7014, allocations: 75.28 kB / 0.7717 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7014, allocations: 0 / 0.7717 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001936/0.7016, allocations: 15.92 kB / 0.7717 GB, free: 13.17 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.0005287/0.7021, allocations: 0.6553 MB / 0.7724 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 7.245e-05/0.7022, allocations: 8 kB / 0.7724 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7022, allocations: 0 / 0.7724 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/0.7022, allocations: 15.88 kB / 0.7724 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.7024, allocations: 13.3 kB / 0.7724 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.7027, allocations: 93.64 kB / 0.7725 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.703, allocations: 0.6768 MB / 0.7732 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.703, allocations: 4 kB / 0.7732 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.7031, allocations: 11.44 kB / 0.7732 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of SimCode: time 2.71e-07/0.7031, allocations: 0 / 0.7732 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.7252, allocations: 1.089 MB / 0.7743 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/0.7255, allocations: 146.4 kB / 0.7744 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.262, allocations: 5.766 kB / 0.7744 GB, free: 10.32 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)