Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000986/0.0009861, 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.4408/0.4408, allocations: 89.07 MB / 105.9 MB, free: 12.44 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.32/1.32, allocations: 225.7 MB / 353.3 MB, free: 1.059 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.0007803/0.0007805, allocations: 90.38 kB / 425.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002807, allocations: 12 kB / 0.4955 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2585, allocations: 71.33 MB / 0.5652 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00338/0.2619, allocations: 4.215 MB / 0.5693 GB, free: 38.05 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007199/0.2626, allocations: 1.475 MB / 0.5708 GB, free: 36.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.2627, allocations: 0 / 0.5708 GB, free: 36.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.2628, allocations: 19.91 kB / 0.5708 GB, free: 36.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.2629, allocations: 31.75 kB / 0.5708 GB, free: 36.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.2632, allocations: 159.4 kB / 0.571 GB, free: 36.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.2633, allocations: 159.4 kB / 0.5711 GB, free: 36.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.374e-05/0.2634, allocations: 25.08 kB / 0.5711 GB, free: 36.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.2635, allocations: 71.75 kB / 0.5712 GB, free: 35.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.069e-05/0.2636, allocations: 75.72 kB / 0.5713 GB, free: 35.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2636, allocations: 11.94 kB / 0.5713 GB, free: 35.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.2638, allocations: 135.8 kB / 0.5714 GB, free: 35.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.2639, allocations: 23.91 kB / 0.5714 GB, free: 35.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.659e-05/0.2639, allocations: 85.41 kB / 0.5715 GB, free: 35.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.2642, allocations: 233.4 kB / 0.5717 GB, free: 35.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2642, allocations: 0 / 0.5717 GB, free: 35.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2642, allocations: 0 / 0.5717 GB, free: 35.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.2642, allocations: 0 / 0.5717 GB, free: 35.39 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006042/0.2648, allocations: 466.9 kB / 0.5722 GB, free: 34.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.2648, allocations: 12.03 kB / 0.5722 GB, free: 34.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.2649, allocations: 12.84 kB / 0.5722 GB, free: 34.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.606e-05/0.265, allocations: 198 kB / 0.5724 GB, free: 34.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.265, allocations: 8.375 kB / 0.5724 GB, free: 34.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.265, allocations: 16.31 kB / 0.5724 GB, free: 34.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.2653, allocations: 137.6 kB / 0.5726 GB, free: 34.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2653, allocations: 0 / 0.5726 GB, free: 34.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2653, allocations: 0 / 0.5726 GB, free: 34.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2653, allocations: 4 kB / 0.5726 GB, free: 34.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003606/0.2657, allocations: 159.9 kB / 0.5727 GB, free: 34.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/0.2664, allocations: 472.4 kB / 0.5732 GB, free: 33.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.2667, allocations: 134.5 kB / 0.5733 GB, free: 33.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.2668, allocations: 76.81 kB / 0.5734 GB, free: 33.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009494/0.2678, allocations: 0.9609 MB / 0.5743 GB, free: 32.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.2678, allocations: 34.56 kB / 0.5743 GB, free: 32.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.2678, allocations: 4 kB / 0.5743 GB, free: 32.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005585/0.2684, allocations: 253.2 kB / 0.5746 GB, free: 32.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.774e-05/0.2684, allocations: 51.41 kB / 0.5746 GB, free: 32.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.2685, allocations: 164.7 kB / 0.5748 GB, free: 31.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.2685, allocations: 29.64 kB / 0.5748 GB, free: 31.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.2686, allocations: 116.3 kB / 0.5749 GB, free: 31.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.2686, allocations: 39.45 kB / 0.575 GB, free: 31.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.2686, allocations: 4 kB / 0.575 GB, free: 31.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.2687, allocations: 322.8 kB / 0.5753 GB, free: 31.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.2689, allocations: 87.94 kB / 0.5754 GB, free: 31.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.2691, allocations: 113.8 kB / 0.5755 GB, free: 31.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003509/0.2694, allocations: 201.5 kB / 0.5757 GB, free: 31.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2694, allocations: 0 / 0.5757 GB, free: 31.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004557/0.2699, allocations: 261.2 kB / 0.5759 GB, free: 30.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2699, allocations: 7.984 kB / 0.5759 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2699, allocations: 0 / 0.5759 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.27, allocations: 7.938 kB / 0.5759 GB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.2702, allocations: 56.06 kB / 0.576 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2702, allocations: 7.938 kB / 0.576 GB, free: 30.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.2703, allocations: 39.73 kB / 0.576 GB, free: 30.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.2704, allocations: 7.984 kB / 0.576 GB, free: 30.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 5.924e-05/0.2704, allocations: 125.8 kB / 0.5762 GB, free: 30.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.2705, allocations: 11.81 kB / 0.5762 GB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.2709, allocations: 211.2 kB / 0.5764 GB, free: 30.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2709, allocations: 4 kB / 0.5764 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2709, allocations: 0 / 0.5764 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2709, allocations: 0 / 0.5764 GB, free: 30.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.271, allocations: 213.6 kB / 0.5766 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2711, allocations: 0 / 0.5766 GB, free: 30.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.2712, allocations: 35.97 kB / 0.5766 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2712, allocations: 4 kB / 0.5766 GB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2712, allocations: 7.938 kB / 0.5766 GB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2712, allocations: 0 / 0.5766 GB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2712, allocations: 0 / 0.5766 GB, free: 29.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.2716, allocations: 279.2 kB / 0.5769 GB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.2716, allocations: 104.9 kB / 0.577 GB, free: 29.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.2717, allocations: 3.938 kB / 0.577 GB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2718, allocations: 23.98 kB / 0.577 GB, free: 29.53 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.2718, allocations: 11.97 kB / 0.577 GB, free: 29.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2719, allocations: 4 kB / 0.577 GB, free: 29.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.004e-05/0.2719, allocations: 118.5 kB / 0.5771 GB, free: 29.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2719, allocations: 3.938 kB / 0.5771 GB, free: 29.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.2722, allocations: 60.11 kB / 0.5772 GB, free: 29.34 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 (12): * Single equations (assignments): 12 * 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.0002161/0.2724, allocations: 159.1 kB / 0.5774 GB, free: 29.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004128/0.2728, allocations: 197.3 kB / 0.5775 GB, free: 28.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2728, allocations: 0 / 0.5775 GB, free: 28.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.273, allocations: 76.14 kB / 0.5776 GB, free: 28.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.2733, allocations: 25.53 kB / 0.5776 GB, free: 28.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.2737, allocations: 297.9 kB / 0.5779 GB, free: 28.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.204e-05/0.2738, allocations: 0.7087 MB / 0.5786 GB, free: 27.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.774e-05/0.2739, allocations: 17.02 kB / 0.5786 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.2739, allocations: 15.44 kB / 0.5786 GB, free: 27.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.9e-07/0.2739, allocations: 4 kB / 0.5786 GB, free: 27.8 MB / 410.7 MB Notification: Performance of Templates: time 0.004027/0.2779, allocations: 2.529 MB / 0.5811 GB, free: 25.28 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)