Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8174/0.8174, allocations: 143.8 MB / 159.1 MB, free: 6.535 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.001233/0.001233, allocations: 179.3 kB / 192 MB, free: 6.727 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.371/1.371, allocations: 225.7 MB / 450.4 MB, free: 4.957 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.0009659/0.000966, allocations: 103.5 kB / 0.5211 GB, free: 1.625 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.00167/0.00167, allocations: 286.3 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004946, allocations: 12.12 kB / 0.6948 GB, free: 59.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 82.47 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.0005907/0.1358, allocations: 246.6 kB / 0.7755 GB, free: 14.12 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001484/0.136, allocations: 46.36 kB / 0.7756 GB, free: 14.08 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.136, allocations: 0 / 0.7756 GB, free: 14.08 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.136, allocations: 0 / 0.7756 GB, free: 14.08 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.1362, allocations: 0 / 0.7756 GB, free: 14.08 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.893e-05/0.1362, allocations: 4 kB / 0.7756 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.098e-05/0.1363, allocations: 19.92 kB / 0.7756 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.1364, allocations: 0 / 0.7756 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.1364, allocations: 7.984 kB / 0.7756 GB, free: 14.05 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.1365, allocations: 11.92 kB / 0.7756 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1365, allocations: 0 / 0.7756 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-06/0.1365, allocations: 0 / 0.7756 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.1366, allocations: 4 kB / 0.7756 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.1366, allocations: 33.64 kB / 0.7757 GB, free: 13.99 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 4.349e-05/0.1366, allocations: 7.984 kB / 0.7757 GB, free: 13.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.1367, allocations: 0 / 0.7757 GB, free: 13.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1367, allocations: 0 / 0.7757 GB, free: 13.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1367, allocations: 4 kB / 0.7757 GB, free: 13.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003585/0.137, allocations: 331.7 kB / 0.776 GB, free: 13.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1371, allocations: 12.03 kB / 0.776 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.1371, allocations: 0.9375 kB / 0.776 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1373, allocations: 172.4 kB / 0.7762 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.71e-06/0.1373, allocations: 4.312 kB / 0.7762 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1373, allocations: 4.375 kB / 0.7762 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.377e-05/0.1374, allocations: 30.2 kB / 0.7762 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1374, allocations: 8.172 kB / 0.7762 GB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1374, allocations: 3.938 kB / 0.7762 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1374, allocations: 4 kB / 0.7762 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.399e-05/0.1374, allocations: 0 / 0.7762 GB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.1376, allocations: 157.7 kB / 0.7764 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.828e-05/0.1376, allocations: 18.61 kB / 0.7764 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.1377, allocations: 8.922 kB / 0.7764 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.1377, allocations: 3.984 kB / 0.7764 GB, free: 13.08 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1377, allocations: 42.5 kB / 0.7764 GB, free: 13.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1377, allocations: 0 / 0.7764 GB, free: 13.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001262/0.1378, allocations: 45.53 kB / 0.7765 GB, free: 12.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1379, allocations: 59.41 kB / 0.7765 GB, free: 12.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.138, allocations: 109.8 kB / 0.7766 GB, free: 12.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.138, allocations: 25.7 kB / 0.7767 GB, free: 12.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.138, allocations: 84.14 kB / 0.7768 GB, free: 12.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.1381, allocations: 8.125 kB / 0.7768 GB, free: 12.67 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.1381, allocations: 0 / 0.7768 GB, free: 12.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1382, allocations: 310.8 kB / 0.7771 GB, free: 12.36 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.1382, allocations: 7.984 kB / 0.7771 GB, free: 12.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-05/0.1382, allocations: 13.72 kB / 0.7771 GB, free: 12.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.1383, allocations: 29.64 kB / 0.7771 GB, free: 12.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1383, allocations: 4.062 kB / 0.7771 GB, free: 12.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.875e-05/0.1384, allocations: 49.62 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1384, allocations: 4 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.1384, allocations: 3.938 kB / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1384, allocations: 0 / 0.7772 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.1385, allocations: 4 kB / 0.7772 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1385, allocations: 0 / 0.7772 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.1385, allocations: 7.906 kB / 0.7772 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1385, allocations: 0 / 0.7772 GB, free: 12.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.171e-05/0.1386, allocations: 113.9 kB / 0.7773 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.1386, allocations: 4 kB / 0.7773 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.1387, allocations: 56.62 kB / 0.7773 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1387, allocations: 4 kB / 0.7773 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1388, allocations: 0 / 0.7773 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1388, allocations: 0 / 0.7773 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.1389, allocations: 153.7 kB / 0.7775 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1389, allocations: 256 / 0.7775 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.1389, allocations: 7.984 kB / 0.7775 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1389, allocations: 8.031 kB / 0.7775 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.139, allocations: 3.938 kB / 0.7775 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.139, allocations: 0 / 0.7775 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.139, allocations: 0 / 0.7775 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.1391, allocations: 73.12 kB / 0.7776 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.1391, allocations: 85 kB / 0.7777 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1392, allocations: 3.938 kB / 0.7777 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.1392, allocations: 4.094 kB / 0.7777 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.1392, allocations: 7.969 kB / 0.7777 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.1392, allocations: 0 / 0.7777 GB, free: 11.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.1393, allocations: 91.27 kB / 0.7778 GB, free: 11.51 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1393, allocations: 0 / 0.7778 GB, free: 11.51 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.1394, allocations: 0 / 0.7778 GB, free: 11.51 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.000111/0.1396, allocations: 107.2 kB / 0.7779 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.027e-05/0.1396, allocations: 16.05 kB / 0.7779 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1396, allocations: 3.938 kB / 0.7779 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.1397, allocations: 4 kB / 0.7779 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1398, allocations: 0 / 0.7779 GB, free: 11.37 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.14, allocations: 125.4 kB / 0.778 GB, free: 11.22 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1403, allocations: 0.677 MB / 0.7787 GB, free: 10.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.1403, allocations: 4 kB / 0.7787 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.1404, allocations: 7.562 kB / 0.7787 GB, free: 10.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1404, allocations: 4 kB / 0.7787 GB, free: 10.5 MB / 458.7 MB Notification: Performance of Templates: time 0.00182/0.1422, allocations: 299 kB / 0.779 GB, free: 10.21 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)