Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008336/0.0008337, allocations: 180.1 kB / 16.08 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4518/0.4518, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 225.7 MB / 353.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007542/0.0007542, allocations: 97.73 kB / 425.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002955, allocations: 12 kB / 0.4955 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2744, allocations: 71.34 MB / 0.5652 GB, free: 42.33 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001071/0.2755, allocations: 0.9839 MB / 0.5662 GB, free: 41.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.2765, allocations: 1.416 MB / 0.5675 GB, free: 39.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.2766, allocations: 0 / 0.5675 GB, free: 39.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.2766, allocations: 0.625 kB / 0.5675 GB, free: 39.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.61e-05/0.2766, allocations: 9.078 kB / 0.5676 GB, free: 39.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.277, allocations: 109.1 kB / 0.5677 GB, free: 39.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.689e-05/0.277, allocations: 27.86 kB / 0.5677 GB, free: 39.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.2771, allocations: 4 kB / 0.5677 GB, free: 39.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.2771, allocations: 11.92 kB / 0.5677 GB, free: 39.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.2771, allocations: 12.61 kB / 0.5677 GB, free: 39.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.2772, allocations: 4.719 kB / 0.5677 GB, free: 39.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.2774, allocations: 159.7 kB / 0.5679 GB, free: 39.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.2774, allocations: 12.53 kB / 0.5679 GB, free: 39.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.2775, allocations: 37.02 kB / 0.5679 GB, free: 39.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.2777, allocations: 121.9 kB / 0.568 GB, free: 39.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2777, allocations: 0 / 0.568 GB, free: 39.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2777, allocations: 0 / 0.568 GB, free: 39.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.2777, allocations: 0 / 0.568 GB, free: 39.28 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002983/0.278, allocations: 355.4 kB / 0.5684 GB, free: 38.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.278, allocations: 12.03 kB / 0.5684 GB, free: 38.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.2781, allocations: 0.9375 kB / 0.5684 GB, free: 38.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.35e-05/0.2781, allocations: 171.3 kB / 0.5685 GB, free: 38.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.2782, allocations: 26.27 kB / 0.5686 GB, free: 38.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.2782, allocations: 8.312 kB / 0.5686 GB, free: 38.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.2783, allocations: 46.23 kB / 0.5686 GB, free: 38.58 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.2783, allocations: 3.938 kB / 0.5686 GB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2784, allocations: 3.984 kB / 0.5686 GB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2784, allocations: 3.5 kB / 0.5686 GB, free: 38.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.2785, allocations: 19.98 kB / 0.5687 GB, free: 38.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.978e-05/0.2786, allocations: 157.7 kB / 0.5688 GB, free: 38.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.2787, allocations: 54.44 kB / 0.5689 GB, free: 38.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.2788, allocations: 12.86 kB / 0.5689 GB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.279, allocations: 182.3 kB / 0.569 GB, free: 38.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.279, allocations: 38.55 kB / 0.5691 GB, free: 38.01 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.279, allocations: 0 / 0.5691 GB, free: 38.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001936/0.2792, allocations: 65.53 kB / 0.5691 GB, free: 37.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.2793, allocations: 63.33 kB / 0.5692 GB, free: 37.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.542e-05/0.2793, allocations: 97.86 kB / 0.5693 GB, free: 37.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.2794, allocations: 29.7 kB / 0.5693 GB, free: 37.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.325e-05/0.2794, allocations: 80.14 kB / 0.5694 GB, free: 37.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.2794, allocations: 7.844 kB / 0.5694 GB, free: 37.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/0.2794, allocations: 0 / 0.5694 GB, free: 37.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.2794, allocations: 322.8 kB / 0.5697 GB, free: 37.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.229e-05/0.2795, allocations: 4 kB / 0.5697 GB, free: 37.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.459e-05/0.2795, allocations: 11.98 kB / 0.5697 GB, free: 37.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.2796, allocations: 32.84 kB / 0.5698 GB, free: 37.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2796, allocations: 0 / 0.5698 GB, free: 37.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001047/0.2797, allocations: 61.53 kB / 0.5698 GB, free: 37.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.2798, allocations: 7.938 kB / 0.5698 GB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2798, allocations: 0 / 0.5698 GB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.2798, allocations: 4 kB / 0.5698 GB, free: 37.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.2798, allocations: 7.984 kB / 0.5698 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.2798, allocations: 0 / 0.5698 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.2799, allocations: 4 kB / 0.5698 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.2799, allocations: 4 kB / 0.5698 GB, free: 37.16 MB / 410.7 MB 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 (4): * Single equations (assignments): 4 * 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 3.891e-05/0.2799, allocations: 105.8 kB / 0.5699 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.2799, allocations: 11.94 kB / 0.57 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.2801, allocations: 61.17 kB / 0.57 GB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2801, allocations: 4.562 kB / 0.57 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2801, allocations: 7.875 kB / 0.57 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2801, allocations: 0 / 0.57 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.966e-05/0.2802, allocations: 153.7 kB / 0.5702 GB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2802, allocations: 4 kB / 0.5702 GB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.2802, allocations: 11.98 kB / 0.5702 GB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2802, allocations: 3.938 kB / 0.5702 GB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.2802, allocations: 0 / 0.5702 GB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2802, allocations: 0 / 0.5702 GB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2803, allocations: 7.984 kB / 0.5702 GB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.2804, allocations: 85.02 kB / 0.5703 GB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.2804, allocations: 85.11 kB / 0.5704 GB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2804, allocations: 3.938 kB / 0.5704 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.2805, allocations: 7.984 kB / 0.5704 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.2805, allocations: 7.938 kB / 0.5704 GB, free: 36.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.2805, allocations: 0 / 0.5704 GB, free: 36.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.671e-05/0.2806, allocations: 83.22 kB / 0.5705 GB, free: 36.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2806, allocations: 0 / 0.5705 GB, free: 36.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002054/0.2808, allocations: 43.92 kB / 0.5705 GB, free: 36.38 MB / 410.7 MB 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 (4): * Single equations (assignments): 4 * 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.0001665/0.2809, allocations: 143.1 kB / 0.5706 GB, free: 36.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.2811, allocations: 23.98 kB / 0.5707 GB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2811, allocations: 4 kB / 0.5707 GB, free: 36.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.2811, allocations: 15.98 kB / 0.5707 GB, free: 36.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.2813, allocations: 7.906 kB / 0.5707 GB, free: 36.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.2816, allocations: 146.5 kB / 0.5708 GB, free: 36.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.087e-05/0.2817, allocations: 0.6809 MB / 0.5715 GB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.164e-05/0.2817, allocations: 0 / 0.5715 GB, free: 35.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.2817, allocations: 11.44 kB / 0.5715 GB, free: 35.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2818, allocations: 4 kB / 0.5715 GB, free: 35.29 MB / 410.7 MB Notification: Performance of Templates: time 0.002583/0.2843, allocations: 1.014 MB / 0.5725 GB, free: 34.27 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)