Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7504/0.7504, allocations: 143.8 MB / 159.1 MB, free: 6.457 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.001016/0.001016, allocations: 179.3 kB / 192 MB, free: 6.719 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.332/1.332, allocations: 225.7 MB / 450.4 MB, free: 5.023 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.0009337/0.0009336, allocations: 110.8 kB / 0.5211 GB, free: 1.68 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.001655/0.001654, allocations: 281.4 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004209, allocations: 13.44 kB / 0.6948 GB, free: 59.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1358, allocations: 82.46 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002223/0.1381, allocations: 1.732 MB / 0.777 GB, free: 12.6 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1401, allocations: 1.93 MB / 0.7789 GB, free: 10.48 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.1402, allocations: 4 kB / 0.7789 GB, free: 10.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.1405, allocations: 103.8 kB / 0.779 GB, free: 10.38 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 9.451e-05/0.1407, allocations: 39.7 kB / 0.779 GB, free: 10.34 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.1412, allocations: 207.7 kB / 0.7792 GB, free: 10.13 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.1415, allocations: 259.3 kB / 0.7795 GB, free: 9.879 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.1417, allocations: 91.03 kB / 0.7796 GB, free: 9.789 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.1418, allocations: 87.56 kB / 0.7797 GB, free: 9.703 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1419, allocations: 103.5 kB / 0.7798 GB, free: 9.602 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.142, allocations: 8 kB / 0.7798 GB, free: 9.594 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002803/0.1423, allocations: 195.7 kB / 0.78 GB, free: 9.402 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.39e-05/0.1424, allocations: 71.75 kB / 0.78 GB, free: 9.332 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1425, allocations: 152.9 kB / 0.7802 GB, free: 9.176 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004936/0.143, allocations: 0.5179 MB / 0.7807 GB, free: 8.656 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.143, allocations: 3.938 kB / 0.7807 GB, free: 8.652 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.143, allocations: 0 / 0.7807 GB, free: 8.652 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.143, allocations: 0 / 0.7807 GB, free: 8.652 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009539/0.144, allocations: 0.77 MB / 0.7814 GB, free: 7.793 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.144, allocations: 8.031 kB / 0.7814 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.1441, allocations: 32.56 kB / 0.7815 GB, free: 7.754 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.1445, allocations: 324.4 kB / 0.7818 GB, free: 7.398 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.1445, allocations: 16.66 kB / 0.7818 GB, free: 7.383 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1445, allocations: 16.38 kB / 0.7818 GB, free: 7.367 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.1451, allocations: 311.2 kB / 0.7821 GB, free: 7.059 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1451, allocations: 0 / 0.7821 GB, free: 7.059 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1451, allocations: 8 kB / 0.7821 GB, free: 7.051 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1452, allocations: 4 kB / 0.7821 GB, free: 7.047 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006332/0.1458, allocations: 300.4 kB / 0.7824 GB, free: 6.754 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008863/0.1467, allocations: 0.6801 MB / 0.7831 GB, free: 6.023 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.1472, allocations: 254.5 kB / 0.7833 GB, free: 5.766 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.1476, allocations: 208.7 kB / 0.7835 GB, free: 5.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1476, allocations: 0 / 0.7835 GB, free: 5.559 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.1477, allocations: 34.56 kB / 0.7835 GB, free: 5.516 MB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.1477, allocations: 0 / 0.7835 GB, free: 5.516 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.001274/0.1489, allocations: 0.7091 MB / 0.7842 GB, free: 4.781 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.149, allocations: 140.5 kB / 0.7844 GB, free: 4.613 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.1494, allocations: 384.4 kB / 0.7847 GB, free: 4.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.1495, allocations: 25.7 kB / 0.7848 GB, free: 4.199 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1496, allocations: 164.3 kB / 0.7849 GB, free: 4.035 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.1496, allocations: 47.34 kB / 0.785 GB, free: 3.988 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.1496, allocations: 8 kB / 0.785 GB, free: 3.98 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1498, allocations: 342.8 kB / 0.7853 GB, free: 3.637 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004294/0.1502, allocations: 252 kB / 0.7855 GB, free: 3.391 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.1506, allocations: 267.7 kB / 0.7858 GB, free: 3.129 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000909/0.1515, allocations: 0.7052 MB / 0.7865 GB, free: 2.367 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1516, allocations: 0 / 0.7865 GB, free: 2.367 MB / 458.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001041/0.1526, allocations: 0.754 MB / 0.7872 GB, free: 1.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.1527, allocations: 186.2 kB / 0.7874 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1527, allocations: 0 / 0.7874 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1527, allocations: 112 / 0.7874 GB, free: 1.352 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.1529, allocations: 47.84 kB / 0.7874 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1529, allocations: 0 / 0.7874 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.1532, allocations: 55.66 kB / 0.7875 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.1532, allocations: 12 kB / 0.7875 GB, free: 1.238 MB / 458.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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0002291/0.1534, allocations: 262.8 kB / 0.7878 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.1535, allocations: 31.62 kB / 0.7878 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.1535, allocations: 26.94 kB / 0.7878 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1536, allocations: 7.984 kB / 0.7878 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1536, allocations: 0 / 0.7878 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1536, allocations: 0 / 0.7878 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.1539, allocations: 345.3 kB / 0.7881 GB, free: 0.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1539, allocations: 0 / 0.7881 GB, free: 0.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.1541, allocations: 43.91 kB / 0.7882 GB, free: 468 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1541, allocations: 0 / 0.7882 GB, free: 468 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.1541, allocations: 8 kB / 0.7882 GB, free: 460 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1541, allocations: 0 / 0.7882 GB, free: 460 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1541, allocations: 8 kB / 0.7882 GB, free: 452 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009403/0.1551, allocations: 0.6484 MB / 0.7888 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.089e-05/0.1552, allocations: 108.7 kB / 0.7889 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.1552, allocations: 11.98 kB / 0.789 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.1555, allocations: 39.97 kB / 0.789 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.1556, allocations: 27.91 kB / 0.789 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1556, allocations: 12 kB / 0.789 GB, free: 15.54 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000271/0.1559, allocations: 267 kB / 0.7893 GB, free: 15.28 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1559, allocations: 0 / 0.7893 GB, free: 15.28 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003876/0.1563, allocations: 107.9 kB / 0.7894 GB, free: 15.18 MB / 474.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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0002666/0.1566, allocations: 171.6 kB / 0.7895 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.1577, allocations: 0.8633 MB / 0.7904 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1577, allocations: 4 kB / 0.7904 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004859/0.1582, allocations: 394 kB / 0.7908 GB, free: 13.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.1586, allocations: 67.17 kB / 0.7908 GB, free: 13.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.1596, allocations: 0.7447 MB / 0.7916 GB, free: 12.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.1599, allocations: 0.7869 MB / 0.7923 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.513e-05/0.16, allocations: 25.94 kB / 0.7924 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.1601, allocations: 19.44 kB / 0.7924 GB, free: 11.95 MB / 474.7 MB Notification: Performance of SimCode: time 2.194e-06/0.1601, allocations: 0 / 0.7924 GB, free: 11.95 MB / 474.7 MB Notification: Performance of Templates: time 0.00867/0.1688, allocations: 5.426 MB / 0.7977 GB, free: 6.551 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)