Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7506/0.7506, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009151/0.0009153, allocations: 175.3 kB / 192 MB, free: 6.738 MB / 154.7 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.436/1.436, allocations: 225.7 MB / 450.4 MB, free: 6.734 MB / 330.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.000725/0.000725, allocations: 110.5 kB / 0.5211 GB, free: 3.398 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 277.1 kB / 0.6025 GB, free: 49.55 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 16 kB / 0.6948 GB, free: 2.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3352, allocations: 82.45 MB / 0.7753 GB, free: 26.96 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.003859/0.3391, allocations: 4.23 MB / 0.7794 GB, free: 22.68 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008781/0.34, allocations: 1.469 MB / 0.7809 GB, free: 21.05 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.3401, allocations: 0 / 0.7809 GB, free: 21.05 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.3402, allocations: 23.89 kB / 0.7809 GB, free: 21.02 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.3403, allocations: 27.77 kB / 0.7809 GB, free: 21 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.3407, allocations: 155.5 kB / 0.7811 GB, free: 20.84 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3408, allocations: 159.4 kB / 0.7812 GB, free: 20.69 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.3409, allocations: 21.09 kB / 0.7813 GB, free: 20.66 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.341, allocations: 79.69 kB / 0.7813 GB, free: 20.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.3411, allocations: 71.73 kB / 0.7814 GB, free: 20.52 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3411, allocations: 8 kB / 0.7814 GB, free: 20.51 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.3414, allocations: 135.8 kB / 0.7815 GB, free: 20.38 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.3414, allocations: 27.89 kB / 0.7816 GB, free: 20.35 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.3415, allocations: 89.36 kB / 0.7816 GB, free: 20.25 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.3418, allocations: 226 kB / 0.7819 GB, free: 20.04 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3418, allocations: 0 / 0.7819 GB, free: 20.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3418, allocations: 0 / 0.7819 GB, free: 20.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3418, allocations: 0 / 0.7819 GB, free: 20.04 MB / 458.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.0006861/0.3425, allocations: 471 kB / 0.7823 GB, free: 19.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3425, allocations: 8.031 kB / 0.7823 GB, free: 19.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.3426, allocations: 20.75 kB / 0.7823 GB, free: 19.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.3427, allocations: 195.9 kB / 0.7825 GB, free: 19.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3427, allocations: 8.375 kB / 0.7825 GB, free: 19.26 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3427, allocations: 8.375 kB / 0.7825 GB, free: 19.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.343, allocations: 129.8 kB / 0.7827 GB, free: 19.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.343, allocations: 0 / 0.7827 GB, free: 19.12 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.343, allocations: 4 kB / 0.7827 GB, free: 19.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.343, allocations: 0 / 0.7827 GB, free: 19.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003588/0.3434, allocations: 167.9 kB / 0.7828 GB, free: 18.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007959/0.3442, allocations: 480.3 kB / 0.7833 GB, free: 18.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.3444, allocations: 138.5 kB / 0.7834 GB, free: 18.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.3446, allocations: 76.81 kB / 0.7835 GB, free: 18.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/0.3456, allocations: 0.9567 MB / 0.7844 GB, free: 17.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.3457, allocations: 34.56 kB / 0.7845 GB, free: 17.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.3457, allocations: 4 kB / 0.7845 GB, free: 17.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006175/0.3463, allocations: 245.2 kB / 0.7847 GB, free: 16.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.3463, allocations: 55.41 kB / 0.7847 GB, free: 16.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3465, allocations: 154.6 kB / 0.7849 GB, free: 16.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3465, allocations: 33.64 kB / 0.7849 GB, free: 16.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.3465, allocations: 120.2 kB / 0.785 GB, free: 16.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3466, allocations: 39.45 kB / 0.7851 GB, free: 16.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.3466, allocations: 4 kB / 0.7851 GB, free: 16.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.3466, allocations: 322.8 kB / 0.7854 GB, free: 16.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3468, allocations: 91.88 kB / 0.7855 GB, free: 15.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.347, allocations: 115.4 kB / 0.7856 GB, free: 15.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.3474, allocations: 198.3 kB / 0.7858 GB, free: 15.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3474, allocations: 0 / 0.7858 GB, free: 15.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004494/0.3478, allocations: 262.2 kB / 0.786 GB, free: 15.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3479, allocations: 8 kB / 0.786 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3479, allocations: 0 / 0.786 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3479, allocations: 3.938 kB / 0.786 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.3481, allocations: 68.05 kB / 0.7861 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3482, allocations: 3.938 kB / 0.7861 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.3483, allocations: 35.73 kB / 0.7861 GB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.3483, allocations: 8 kB / 0.7862 GB, free: 15.27 MB / 458.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 6.576e-05/0.3484, allocations: 125.8 kB / 0.7863 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.3484, allocations: 11.91 kB / 0.7863 GB, free: 15.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.3489, allocations: 211.2 kB / 0.7865 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3489, allocations: 0 / 0.7865 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3489, allocations: 0 / 0.7865 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3489, allocations: 0 / 0.7865 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.3491, allocations: 221.5 kB / 0.7867 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3491, allocations: 0 / 0.7867 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3492, allocations: 31.97 kB / 0.7867 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3492, allocations: 4 kB / 0.7867 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3492, allocations: 7.938 kB / 0.7867 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3492, allocations: 0 / 0.7867 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3492, allocations: 0 / 0.7867 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.3496, allocations: 283.2 kB / 0.787 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.3497, allocations: 100.8 kB / 0.7871 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.3497, allocations: 7.922 kB / 0.7871 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.3498, allocations: 31.92 kB / 0.7871 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.3499, allocations: 7.984 kB / 0.7871 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3499, allocations: 0 / 0.7871 GB, free: 14.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.766e-05/0.35, allocations: 117.4 kB / 0.7873 GB, free: 14.03 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.35, allocations: 0 / 0.7873 GB, free: 14.03 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003072/0.3503, allocations: 52.38 kB / 0.7873 GB, free: 13.98 MB / 458.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.0002416/0.3505, allocations: 167.1 kB / 0.7875 GB, free: 13.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004175/0.3509, allocations: 195.8 kB / 0.7877 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.351, allocations: 0 / 0.7877 GB, free: 13.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3511, allocations: 80.08 kB / 0.7877 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.3515, allocations: 19.98 kB / 0.7878 GB, free: 13.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.3519, allocations: 298 kB / 0.788 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.352, allocations: 0.7087 MB / 0.7887 GB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 9.446e-05/0.3521, allocations: 17.45 kB / 0.7887 GB, free: 12.45 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.3522, allocations: 15.44 kB / 0.7888 GB, free: 12.43 MB / 458.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3522, allocations: 4 kB / 0.7888 GB, free: 12.43 MB / 458.7 MB Notification: Performance of Templates: time 0.004651/0.3568, allocations: 2.536 MB / 0.7912 GB, free: 9.902 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)