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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001866/0.001866, allocations: 106.5 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.454/1.454, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8681/0.8681, allocations: 135.2 MB / 426.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 61.98 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 80.94 MB / 0.6654 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002428/0.1792, allocations: 1.257 MB / 0.6666 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5838/0.763, allocations: 132.4 MB / 0.7959 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.763, allocations: 0 / 0.7959 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.763, allocations: 0 / 0.7959 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.285e-05/0.7631, allocations: 6.094 kB / 0.7959 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.7636, allocations: 58.34 kB / 0.796 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.7637, allocations: 26.41 kB / 0.796 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.424e-05/0.7638, allocations: 5.844 kB / 0.796 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.561e-05/0.7639, allocations: 7.344 kB / 0.796 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.7639, allocations: 8.094 kB / 0.796 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.7639, allocations: 1.156 kB / 0.796 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.959e-05/0.764, allocations: 15.39 kB / 0.796 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.7641, allocations: 7.578 kB / 0.796 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.7641, allocations: 7.031 kB / 0.796 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.7642, allocations: 29.28 kB / 0.7961 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7642, allocations: 2.391 kB / 0.7961 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7642, allocations: 0 / 0.7961 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.7643, allocations: 0 / 0.7961 GB, free: 12.93 MB / 0.5919 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.000617/0.7649, allocations: 339.1 kB / 0.7964 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.7649, allocations: 10.3 kB / 0.7964 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.765, allocations: 3.188 kB / 0.7964 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.7652, allocations: 168.2 kB / 0.7966 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.153e-05/0.7653, allocations: 34.86 kB / 0.7966 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.7653, allocations: 1.812 kB / 0.7966 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.7654, allocations: 40.5 kB / 0.7966 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.7655, allocations: 3.938 kB / 0.7966 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.7655, allocations: 4 kB / 0.7966 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7655, allocations: 1.031 kB / 0.7966 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.7656, allocations: 13.16 kB / 0.7967 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.7658, allocations: 153.6 kB / 0.7968 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.7659, allocations: 32 kB / 0.7968 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.7659, allocations: 11.97 kB / 0.7968 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.7661, allocations: 91.89 kB / 0.7969 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.7662, allocations: 38.47 kB / 0.797 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.7662, allocations: 0 / 0.797 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.000297/0.7665, allocations: 61.52 kB / 0.797 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.7665, allocations: 52.41 kB / 0.7971 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.7666, allocations: 98.58 kB / 0.7972 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.7666, allocations: 34.77 kB / 0.7972 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.7667, allocations: 80.14 kB / 0.7973 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.7667, allocations: 5.141 kB / 0.7973 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.7668, allocations: 18.45 kB / 0.7973 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.767, allocations: 311.9 kB / 0.7976 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.993e-05/0.767, allocations: 10.44 kB / 0.7976 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.7671, allocations: 6.922 kB / 0.7976 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.7671, allocations: 25.09 kB / 0.7976 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7672, allocations: 7.75 kB / 0.7977 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001348/0.7673, allocations: 48.36 kB / 0.7977 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.7673, allocations: 8.25 kB / 0.7977 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7673, allocations: 3.641 kB / 0.7977 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.7673, allocations: 3.984 kB / 0.7977 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.7674, allocations: 8.75 kB / 0.7977 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.7674, allocations: 1.312 kB / 0.7977 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.7675, allocations: 3.219 kB / 0.7977 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.7675, allocations: 7.484 kB / 0.7977 GB, free: 11.22 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.7676, allocations: 110.3 kB / 0.7978 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.7676, allocations: 9.203 kB / 0.7978 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.7678, allocations: 56.52 kB / 0.7979 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7678, allocations: 3.938 kB / 0.7979 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7678, allocations: 3.609 kB / 0.7979 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.7678, allocations: 0 / 0.7979 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.768, allocations: 155.4 kB / 0.7981 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.768, allocations: 4 kB / 0.7981 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.768, allocations: 12.11 kB / 0.7981 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.768, allocations: 3.938 kB / 0.7981 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.768, allocations: 1.031 kB / 0.7981 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.768, allocations: 0 / 0.7981 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.768, allocations: 0 / 0.7981 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.7682, allocations: 74.31 kB / 0.7981 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.7683, allocations: 80.98 kB / 0.7982 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.7683, allocations: 9.438 kB / 0.7982 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.613e-05/0.7683, allocations: 0 / 0.7982 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.7684, allocations: 5.172 kB / 0.7982 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.7684, allocations: 0 / 0.7982 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.592e-05/0.7684, allocations: 81.88 kB / 0.7983 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7684, allocations: 0 / 0.7983 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002029/0.7686, allocations: 8.25 kB / 0.7983 GB, free: 10.61 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.7688, allocations: 113.6 kB / 0.7984 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.769, allocations: 25.45 kB / 0.7985 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.769, allocations: 0 / 0.7985 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.852e-05/0.769, allocations: 8.844 kB / 0.7985 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.7692, allocations: 9.297 kB / 0.7985 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.7696, allocations: 159 kB / 0.7986 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.77, allocations: 0.6784 MB / 0.7993 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.77, allocations: 9.688 kB / 0.7993 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.77, allocations: 5.094 kB / 0.7993 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of Templates: time 0.002211/0.7722, allocations: 0.5774 MB / 0.7999 GB, free: 9.621 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)