Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_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.002472/0.002472, allocations: 177 kB / 7.649 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.8292/0.8292, allocations: 133.6 MB / 141.6 MB, free: 2.898 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.466/1.466, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.000853/0.0008528, allocations: 103.6 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.362e-05/1.364e-05, allocations: 0 / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4798, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.6715, allocations: 137.8 MB / 0.7685 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.6718, allocations: 79.91 kB / 0.7685 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005558/0.6773, allocations: 2.172 MB / 0.7707 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6774, allocations: 0 / 0.7707 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.6774, allocations: 4.188 kB / 0.7707 GB, free: 14.61 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.0004628/0.6779, allocations: 378.2 kB / 0.771 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.6779, allocations: 8.031 kB / 0.771 GB, free: 14.19 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.678, allocations: 7.953 kB / 0.771 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.6781, allocations: 171 kB / 0.7712 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.6781, allocations: 0 / 0.7712 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.6781, allocations: 4 kB / 0.7712 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.445e-05/0.6782, allocations: 20 kB / 0.7712 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.039e-05/0.6783, allocations: 41.69 kB / 0.7713 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6784, allocations: 3.938 kB / 0.7713 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.6784, allocations: 0 / 0.7713 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6784, allocations: 7.938 kB / 0.7713 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.6788, allocations: 261.4 kB / 0.7715 GB, free: 13.6 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.6789, allocations: 30.58 kB / 0.7715 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.6789, allocations: 16.86 kB / 0.7716 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.6791, allocations: 89.19 kB / 0.7716 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.6791, allocations: 30.56 kB / 0.7717 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 3.827e-06/0.6791, allocations: 4 kB / 0.7717 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002266/0.6793, allocations: 61.48 kB / 0.7717 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.6794, allocations: 55.41 kB / 0.7718 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.6795, allocations: 97 kB / 0.7719 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.6795, allocations: 29.69 kB / 0.7719 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.867e-05/0.6796, allocations: 92.08 kB / 0.772 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.6796, allocations: 7.812 kB / 0.772 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.6796, allocations: 0 / 0.772 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6797, allocations: 326.8 kB / 0.7723 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.6797, allocations: 8 kB / 0.7723 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.6798, allocations: 8 kB / 0.7723 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.6798, allocations: 12 kB / 0.7723 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.6798, allocations: 0 / 0.7723 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001056/0.6799, allocations: 53.62 kB / 0.7724 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.68, allocations: 5.562 kB / 0.7724 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.68, allocations: 0 / 0.7724 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.68, allocations: 0 / 0.7724 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.6801, allocations: 27.97 kB / 0.7724 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.6802, allocations: 7.938 kB / 0.7724 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.6803, allocations: 15.98 kB / 0.7725 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.6803, allocations: 8 kB / 0.7725 GB, free: 12.55 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 6.876e-05/0.6803, allocations: 101 kB / 0.7726 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001155/0.6805, allocations: 53.59 kB / 0.7726 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.6805, allocations: 8 kB / 0.7726 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.6807, allocations: 74.5 kB / 0.7727 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6807, allocations: 4 kB / 0.7727 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6807, allocations: 0 / 0.7727 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6807, allocations: 0 / 0.7727 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.6808, allocations: 154.1 kB / 0.7728 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6809, allocations: 0 / 0.7728 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.681, allocations: 19.98 kB / 0.7729 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.681, allocations: 4 kB / 0.7729 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.681, allocations: 0 / 0.7729 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.681, allocations: 0 / 0.7729 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.681, allocations: 3.953 kB / 0.7729 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.6812, allocations: 159.4 kB / 0.773 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.6812, allocations: 77.11 kB / 0.7731 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.6813, allocations: 0 / 0.7731 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.6814, allocations: 19.98 kB / 0.7731 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.6814, allocations: 7.984 kB / 0.7731 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.6815, allocations: 7.953 kB / 0.7731 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.6815, allocations: 83.28 kB / 0.7732 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6815, allocations: 0 / 0.7732 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002202/0.6817, allocations: 19.84 kB / 0.7732 GB, free: 11.68 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.0005205/0.6823, allocations: 0.7203 MB / 0.7739 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001071/0.6824, allocations: 27.92 kB / 0.774 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6824, allocations: 0 / 0.774 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.128e-05/0.6824, allocations: 12 kB / 0.774 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001864/0.6826, allocations: 4 kB / 0.774 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.683, allocations: 121.5 kB / 0.7741 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.6833, allocations: 0.6885 MB / 0.7748 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.755e-05/0.6833, allocations: 0 / 0.7748 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.6834, allocations: 15.44 kB / 0.7748 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of SimCode: time 2.41e-07/0.6834, allocations: 0 / 0.7748 GB, free: 9.996 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.7047, allocations: 1.535 MB / 0.7763 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.705, allocations: 129.1 kB / 0.7764 GB, free: 8.289 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.209, allocations: 0 / 0.7764 GB, free: 8.289 MB / 0.5573 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)