Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001137/0.001136, allocations: 174.8 kB / 16.08 MB, free: 5.73 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.4345/0.4345, 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.258/1.258, allocations: 225.7 MB / 353.2 MB, free: 1.094 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.0007514/0.0007514, allocations: 93.62 kB / 425.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003201, allocations: 8 kB / 0.4955 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2804, allocations: 71.33 MB / 0.5652 GB, free: 42.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001083/0.2816, allocations: 0.9728 MB / 0.5662 GB, free: 41.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004661/0.282, allocations: 0.5067 MB / 0.5666 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.2821, allocations: 0 / 0.5666 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.2821, allocations: 0.6562 kB / 0.5666 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.253e-05/0.2821, allocations: 4.594 kB / 0.5667 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.2823, allocations: 44.72 kB / 0.5667 GB, free: 40.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.04e-05/0.2824, allocations: 21.86 kB / 0.5667 GB, free: 40.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.2824, allocations: 4 kB / 0.5667 GB, free: 40.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.933e-05/0.2825, allocations: 7.938 kB / 0.5667 GB, free: 40.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.843e-05/0.2825, allocations: 0 / 0.5667 GB, free: 40.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.418e-06/0.2825, allocations: 4 kB / 0.5667 GB, free: 40.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.2826, allocations: 56.47 kB / 0.5668 GB, free: 40.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.2826, allocations: 3.984 kB / 0.5668 GB, free: 40.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.558e-05/0.2827, allocations: 39.14 kB / 0.5668 GB, free: 40.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2828, allocations: 46.02 kB / 0.5669 GB, free: 40.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2828, allocations: 0 / 0.5669 GB, free: 40.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2828, allocations: 0 / 0.5669 GB, free: 40.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.2828, allocations: 4.562 kB / 0.5669 GB, free: 40.56 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.0002401/0.2831, allocations: 336.2 kB / 0.5672 GB, free: 40.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.2831, allocations: 12.59 kB / 0.5672 GB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.2833, allocations: 26.97 kB / 0.5672 GB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.715e-05/0.2834, allocations: 160.4 kB / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.2834, allocations: 384 / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.2834, allocations: 384 / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.031e-05/0.2835, allocations: 50.23 kB / 0.5674 GB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2835, allocations: 192 / 0.5674 GB, free: 39.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2835, allocations: 3.938 kB / 0.5674 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.2835, allocations: 4 kB / 0.5674 GB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.2836, allocations: 19.92 kB / 0.5675 GB, free: 39.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.2837, allocations: 161.7 kB / 0.5676 GB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.2853, allocations: 270.4 kB / 0.5679 GB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.483e-05/0.2854, allocations: 20.86 kB / 0.5679 GB, free: 39.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.2854, allocations: 0 / 0.5679 GB, free: 39.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.2854, allocations: 30.56 kB / 0.5679 GB, free: 39.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2854, allocations: 4 kB / 0.5679 GB, free: 39.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001334/0.2855, allocations: 69.56 kB / 0.568 GB, free: 39.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.2856, allocations: 55.39 kB / 0.568 GB, free: 39.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.902e-05/0.2856, allocations: 89.86 kB / 0.5681 GB, free: 39.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.2856, allocations: 29.7 kB / 0.5682 GB, free: 39.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.102e-05/0.2857, allocations: 80.14 kB / 0.5682 GB, free: 38.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.2857, allocations: 15.75 kB / 0.5682 GB, free: 38.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.2857, allocations: 0 / 0.5682 GB, free: 38.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.2857, allocations: 315 kB / 0.5685 GB, free: 38.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.2858, allocations: 15.98 kB / 0.5686 GB, free: 38.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.2858, allocations: 4 kB / 0.5686 GB, free: 38.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.713e-05/0.2858, allocations: 24.86 kB / 0.5686 GB, free: 38.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2858, allocations: 4 kB / 0.5686 GB, free: 38.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.171e-05/0.2859, allocations: 53.62 kB / 0.5686 GB, free: 38.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.2859, allocations: 11.94 kB / 0.5687 GB, free: 38.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2859, allocations: 3.938 kB / 0.5687 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2859, allocations: 0 / 0.5687 GB, free: 38.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.286, allocations: 8 kB / 0.5687 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.286, allocations: 3.984 kB / 0.5687 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.286, allocations: 3.984 kB / 0.5687 GB, free: 38.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.2861, allocations: 4 kB / 0.5687 GB, free: 38.49 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 4.291e-05/0.2861, allocations: 105.8 kB / 0.5688 GB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.2861, allocations: 4 kB / 0.5688 GB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.2861, allocations: 15.44 kB / 0.5688 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2861, allocations: 0 / 0.5688 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2862, allocations: 0 / 0.5688 GB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2862, allocations: 4.328 kB / 0.5688 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.201e-05/0.2862, allocations: 161.5 kB / 0.569 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2862, allocations: 0 / 0.569 GB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.2863, allocations: 11.94 kB / 0.569 GB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2863, allocations: 0 / 0.569 GB, free: 38.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2863, allocations: 11.92 kB / 0.569 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2863, allocations: 0 / 0.569 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2863, allocations: 3.984 kB / 0.569 GB, free: 38.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.433e-05/0.2864, allocations: 77.12 kB / 0.5691 GB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.2864, allocations: 81.11 kB / 0.5691 GB, free: 37.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.2865, allocations: 3.938 kB / 0.5691 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.902e-05/0.2865, allocations: 4 kB / 0.5691 GB, free: 37.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.833e-05/0.2865, allocations: 7.984 kB / 0.5692 GB, free: 37.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.2865, allocations: 0 / 0.5692 GB, free: 37.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.375e-05/0.2866, allocations: 75.28 kB / 0.5692 GB, free: 37.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2866, allocations: 0 / 0.5692 GB, free: 37.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.2867, allocations: 8 kB / 0.5692 GB, free: 37.83 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 7.176e-05/0.2868, allocations: 107.3 kB / 0.5693 GB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.707e-05/0.2869, allocations: 27.98 kB / 0.5694 GB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2869, allocations: 0 / 0.5694 GB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.769e-05/0.2869, allocations: 12 kB / 0.5694 GB, free: 37.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.2871, allocations: 13.44 kB / 0.5694 GB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.2874, allocations: 148.4 kB / 0.5695 GB, free: 37.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.484e-05/0.2875, allocations: 0.6731 MB / 0.5702 GB, free: 36.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.77e-05/0.2875, allocations: 4 kB / 0.5702 GB, free: 36.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.2876, allocations: 11.44 kB / 0.5702 GB, free: 36.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2876, allocations: 0 / 0.5702 GB, free: 36.77 MB / 410.7 MB Notification: Performance of Templates: time 0.001898/0.2895, allocations: 488.8 kB / 0.5707 GB, free: 36.3 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)