Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 118.9 kB / 17.09 MB, free: 6.012 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.001073/0.001073, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7656/0.7656, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.73 kB / 0.5583 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1424, allocations: 76.19 MB / 0.6327 GB, free: 4.562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002422/0.1448, allocations: 1.478 MB / 0.6342 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4813/0.6261, allocations: 132.1 MB / 0.7631 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/0.6262, allocations: 0.7188 kB / 0.7631 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.6262, allocations: 7.938 kB / 0.7631 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.6264, allocations: 14.84 kB / 0.7632 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.6267, allocations: 68 kB / 0.7632 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.6268, allocations: 54.03 kB / 0.7633 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.6269, allocations: 13.53 kB / 0.7633 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.627, allocations: 20.47 kB / 0.7633 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.6271, allocations: 29.89 kB / 0.7633 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.6271, allocations: 4.875 kB / 0.7633 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 9.292e-05/0.6272, allocations: 15.53 kB / 0.7633 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.6272, allocations: 11.52 kB / 0.7634 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.6273, allocations: 22.59 kB / 0.7634 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.6274, allocations: 59.33 kB / 0.7634 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6274, allocations: 0 / 0.7634 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6274, allocations: 0.5 kB / 0.7634 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.6275, allocations: 1.703 kB / 0.7634 GB, free: 15.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005416/0.628, allocations: 379 kB / 0.7638 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.628, allocations: 9 kB / 0.7638 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.6281, allocations: 5.469 kB / 0.7638 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.6282, allocations: 172.8 kB / 0.764 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.6282, allocations: 1.5 kB / 0.764 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.6283, allocations: 3.094 kB / 0.764 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.6285, allocations: 78.52 kB / 0.7641 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.6285, allocations: 4.75 kB / 0.7641 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6286, allocations: 4.469 kB / 0.7641 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6286, allocations: 2.25 kB / 0.7641 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.6289, allocations: 65.92 kB / 0.7641 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.6293, allocations: 288.9 kB / 0.7644 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.6295, allocations: 63.27 kB / 0.7645 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.6297, allocations: 36.55 kB / 0.7645 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.6299, allocations: 92.22 kB / 0.7646 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.63, allocations: 39.38 kB / 0.7646 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.63, allocations: 7.875 kB / 0.7646 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0006065/0.6306, allocations: 123 kB / 0.7648 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.6306, allocations: 53.94 kB / 0.7648 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.356e-05/0.6307, allocations: 119.9 kB / 0.7649 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.6308, allocations: 32.89 kB / 0.765 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.6308, allocations: 90.36 kB / 0.765 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.6308, allocations: 7.391 kB / 0.765 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.6309, allocations: 15.44 kB / 0.7651 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.631, allocations: 321.5 kB / 0.7654 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.6312, allocations: 30.31 kB / 0.7654 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.6313, allocations: 36.38 kB / 0.7654 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.6316, allocations: 69.86 kB / 0.7655 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6316, allocations: 0 / 0.7655 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003233/0.6319, allocations: 100.8 kB / 0.7656 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.632, allocations: 7.328 kB / 0.7656 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.632, allocations: 1.281 kB / 0.7656 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.632, allocations: 0 / 0.7656 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.6321, allocations: 14.27 kB / 0.7656 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6321, allocations: 1 kB / 0.7656 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/0.6322, allocations: 25.94 kB / 0.7656 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.6322, allocations: 0.75 kB / 0.7656 GB, free: 13.96 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 8.193e-05/0.6323, allocations: 121.4 kB / 0.7658 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.6324, allocations: 3.875 kB / 0.7658 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.6327, allocations: 109 kB / 0.7659 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6327, allocations: 0 / 0.7659 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6327, allocations: 2.188 kB / 0.7659 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.6328, allocations: 0 / 0.7659 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.6329, allocations: 178.7 kB / 0.766 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.633, allocations: 0 / 0.766 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.642e-05/0.6331, allocations: 15.55 kB / 0.7661 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.6331, allocations: 0.6562 kB / 0.7661 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.6331, allocations: 2.156 kB / 0.7661 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6331, allocations: 1.203 kB / 0.7661 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6331, allocations: 0 / 0.7661 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.6335, allocations: 207.1 kB / 0.7663 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.6335, allocations: 77.11 kB / 0.7663 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.6335, allocations: 8.375 kB / 0.7663 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6337, allocations: 8.422 kB / 0.7663 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.6337, allocations: 12.58 kB / 0.7664 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.6337, allocations: 0 / 0.7664 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.279e-05/0.6338, allocations: 95.89 kB / 0.7664 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6338, allocations: 0 / 0.7664 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002553/0.634, allocations: 24.78 kB / 0.7665 GB, free: 13.27 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.0001568/0.6342, allocations: 107.4 kB / 0.7666 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.6346, allocations: 68.47 kB / 0.7666 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6346, allocations: 4 kB / 0.7666 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.6347, allocations: 37.84 kB / 0.7667 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.635, allocations: 12.88 kB / 0.7667 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.6354, allocations: 179.7 kB / 0.7669 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.6357, allocations: 0.6856 MB / 0.7675 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.6357, allocations: 14.91 kB / 0.7675 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.6357, allocations: 0 / 0.7675 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.0023/0.638, allocations: 0.9378 MB / 0.7685 GB, free: 12.25 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)