Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001109, allocations: 93.25 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 172.3 kB / 16.58 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6995/0.6995, allocations: 115.5 MB / 407.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002989, allocations: 11.98 kB / 495.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 77.53 MB / 0.5593 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001308/0.1407, allocations: 0.9886 MB / 0.5603 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.387/0.5277, allocations: 119.6 MB / 0.6771 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.5278, allocations: 3.828 kB / 0.6771 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.5278, allocations: 0 / 0.6771 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.5279, allocations: 3.984 kB / 0.6771 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.5282, allocations: 46.3 kB / 0.6771 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.232e-05/0.5282, allocations: 23.88 kB / 0.6772 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.5283, allocations: 0 / 0.6772 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.5283, allocations: 11.92 kB / 0.6772 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.5284, allocations: 8 kB / 0.6772 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.5284, allocations: 0 / 0.6772 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.43e-05/0.5285, allocations: 15.98 kB / 0.6772 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.5285, allocations: 11.98 kB / 0.6772 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.5285, allocations: 29.64 kB / 0.6772 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.248e-05/0.5286, allocations: 19.84 kB / 0.6772 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5286, allocations: 3.938 kB / 0.6773 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5286, allocations: 0 / 0.6773 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.5286, allocations: 0 / 0.6773 GB, free: 13.97 MB / 0.4981 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.0003612/0.529, allocations: 325.2 kB / 0.6776 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.529, allocations: 8.031 kB / 0.6776 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.5291, allocations: 8.625 kB / 0.6776 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.5292, allocations: 167 kB / 0.6777 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.529e-05/0.5293, allocations: 33.69 kB / 0.6778 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.5293, allocations: 3.953 kB / 0.6778 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.5294, allocations: 37.69 kB / 0.6778 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.5294, allocations: 0 / 0.6778 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.5294, allocations: 4 kB / 0.6778 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.5294, allocations: 0 / 0.6778 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.515e-05/0.5295, allocations: 11.94 kB / 0.6778 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.5297, allocations: 157.7 kB / 0.678 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.752e-05/0.5298, allocations: 30.61 kB / 0.678 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.5298, allocations: 8.859 kB / 0.678 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.53, allocations: 93.19 kB / 0.6781 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.53, allocations: 42.52 kB / 0.6781 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.53, allocations: 0 / 0.6781 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002069/0.5303, allocations: 61.55 kB / 0.6782 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.5303, allocations: 51.41 kB / 0.6782 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.997e-05/0.5304, allocations: 101.8 kB / 0.6783 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.5304, allocations: 25.7 kB / 0.6784 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.5304, allocations: 84.14 kB / 0.6785 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.5304, allocations: 7.906 kB / 0.6785 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.5305, allocations: 4 kB / 0.6785 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5306, allocations: 310.8 kB / 0.6788 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.5306, allocations: 11.98 kB / 0.6788 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.112e-05/0.5306, allocations: 4.375 kB / 0.6788 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.5307, allocations: 8.078 kB / 0.6788 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5307, allocations: 4 kB / 0.6788 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001126/0.5308, allocations: 53.61 kB / 0.6788 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5308, allocations: 7.953 kB / 0.6788 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5309, allocations: 4 kB / 0.6788 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.5309, allocations: 0 / 0.6788 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.5309, allocations: 8 kB / 0.6789 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.531, allocations: 0.7031 kB / 0.6789 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.531, allocations: 7.984 kB / 0.6789 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.531, allocations: 0 / 0.6789 GB, free: 12.08 MB / 0.4981 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 8.185e-05/0.5311, allocations: 113.8 kB / 0.679 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.5311, allocations: 3.906 kB / 0.679 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.5313, allocations: 73.06 kB / 0.679 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5313, allocations: 3.938 kB / 0.6791 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5313, allocations: 0.5 kB / 0.6791 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5313, allocations: 0 / 0.6791 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.912e-05/0.5314, allocations: 149.7 kB / 0.6792 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5314, allocations: 3.938 kB / 0.6792 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.5315, allocations: 4 kB / 0.6792 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5315, allocations: 0 / 0.6792 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.5315, allocations: 8 kB / 0.6792 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5315, allocations: 3.953 kB / 0.6792 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5315, allocations: 4 kB / 0.6792 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.5316, allocations: 73.11 kB / 0.6793 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.5317, allocations: 77.11 kB / 0.6794 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.5317, allocations: 0 / 0.6794 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.75e-05/0.5318, allocations: 7.922 kB / 0.6794 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.5318, allocations: 7.953 kB / 0.6794 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.5318, allocations: 4 kB / 0.6794 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.377e-05/0.5318, allocations: 87.22 kB / 0.6795 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5318, allocations: 0 / 0.6795 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001904/0.532, allocations: 8 kB / 0.6795 GB, free: 11.36 MB / 0.4981 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.0001523/0.5322, allocations: 115.2 kB / 0.6796 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.5323, allocations: 19.98 kB / 0.6796 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5323, allocations: 0 / 0.6796 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.272e-05/0.5324, allocations: 11.98 kB / 0.6796 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.5326, allocations: 11.98 kB / 0.6796 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.5329, allocations: 144.9 kB / 0.6798 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.5331, allocations: 0.677 MB / 0.6804 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.5331, allocations: 8 kB / 0.6804 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.5332, allocations: 7.438 kB / 0.6804 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.5332, allocations: 0 / 0.6804 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.002477/0.5357, allocations: 477 kB / 0.6809 GB, free: 9.855 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)