Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8299/0.8299, allocations: 143.8 MB / 159.1 MB, free: 6.508 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.001124/0.001124, allocations: 187.2 kB / 192 MB, free: 6.73 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.49/1.49, allocations: 225.7 MB / 450.4 MB, free: 5.016 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.0009128/0.0009127, allocations: 103.5 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.001734/0.001734, allocations: 283 kB / 0.6025 GB, free: 49.32 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004361, allocations: 13.66 kB / 0.6948 GB, free: 59.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1419, allocations: 82.45 MB / 0.7753 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5167/0.6586, allocations: 232.9 MB / 1.003 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02405/0.6827, allocations: 20.46 MB / 1.023 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002616/0.6853, allocations: 49.66 kB / 1.023 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002862/0.6882, allocations: 0.8667 MB / 1.024 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007482/0.6957, allocations: 2.776 MB / 1.026 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.6999, allocations: 1.515 MB / 1.028 GB, free: 8.289 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005715/0.7056, allocations: 4.645 MB / 1.032 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.708, allocations: 1.04 MB / 1.033 GB, free: 3.711 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007252/0.7153, allocations: 2.257 MB / 1.036 GB, free: 1.449 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.7181, allocations: 1.074 MB / 1.037 GB, free: 380 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003352/0.7185, allocations: 48 kB / 1.037 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006781/0.7253, allocations: 3.526 MB / 1.04 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007003/0.726, allocations: 394.5 kB / 1.04 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.7275, allocations: 0.7476 MB / 1.041 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.006126/0.7337, allocations: 3.076 MB / 1.044 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.7337, allocations: 0 / 1.044 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/0.7337, allocations: 0 / 1.044 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.485e-05/0.7338, allocations: 0 / 1.044 GB, free: 8.559 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003561/0.7374, allocations: 1.718 MB / 1.046 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.7374, allocations: 16.03 kB / 1.046 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/0.7403, allocations: 0.5327 MB / 1.046 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003046/0.7434, allocations: 1.118 MB / 1.047 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009255/0.7443, allocations: 273.8 kB / 1.048 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.7445, allocations: 96 kB / 1.048 GB, free: 4.699 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.7474, allocations: 1.338 MB / 1.049 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.7474, allocations: 7.938 kB / 1.049 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.7475, allocations: 39.98 kB / 1.049 GB, free: 3.227 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-05/0.7476, allocations: 49.98 kB / 1.049 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002548/0.7501, allocations: 1.097 MB / 1.05 GB, free: 2.082 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008198/0.7583, allocations: 6.662 MB / 1.057 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.76, allocations: 0.5977 MB / 1.057 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/0.7607, allocations: 285.2 kB / 1.058 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/0.7611, allocations: 291.5 kB / 1.058 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.7612, allocations: 34.84 kB / 1.058 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=33): time 2.494e-06/0.7612, allocations: 0 / 1.058 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.002394/0.7636, allocations: 0.9128 MB / 1.059 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.7637, allocations: 55.41 kB / 1.059 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.7656, allocations: 1.346 MB / 1.06 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.7657, allocations: 41.64 kB / 1.06 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005591/0.7662, allocations: 0.6794 MB / 1.061 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.7663, allocations: 122.3 kB / 1.061 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.7664, allocations: 12 kB / 1.061 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.7665, allocations: 334 kB / 1.061 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/0.7673, allocations: 325.1 kB / 1.062 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.7684, allocations: 0.6678 MB / 1.062 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.77, allocations: 0.9029 MB / 1.063 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.7701, allocations: 4 kB / 1.063 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002186/0.7723, allocations: 1.05 MB / 1.064 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.7725, allocations: 379.3 kB / 1.065 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.7725, allocations: 8 kB / 1.065 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.7726, allocations: 20 kB / 1.065 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/0.7734, allocations: 203.7 kB / 1.065 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.778e-05/0.7734, allocations: 23.92 kB / 1.065 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7748, allocations: 226.7 kB / 1.065 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.7749, allocations: 39.98 kB / 1.065 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.7749, allocations: 4 kB / 1.065 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001933/0.7768, allocations: 0.9053 MB / 1.066 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.7769, allocations: 8 kB / 1.066 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.7769, allocations: 19.94 kB / 1.066 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/0.7776, allocations: 212.2 kB / 1.066 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.7777, allocations: 19.92 kB / 1.066 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.7788, allocations: 198.9 kB / 1.066 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.7789, allocations: 47.98 kB / 1.066 GB, free: 0.5117 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * 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 0.0004985/0.7794, allocations: 410.3 kB / 1.067 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/0.7796, allocations: 138.3 kB / 1.067 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.7812, allocations: 0.681 MB / 1.068 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.7813, allocations: 4 kB / 1.068 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.7813, allocations: 0 / 1.068 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.7813, allocations: 4 kB / 1.068 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.7848, allocations: 1.971 MB / 1.07 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.7848, allocations: 7.938 kB / 1.07 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.7853, allocations: 104 kB / 1.07 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.7853, allocations: 4 kB / 1.07 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.7854, allocations: 19.88 kB / 1.07 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.7854, allocations: 7.984 kB / 1.07 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.7854, allocations: 7.938 kB / 1.07 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.787, allocations: 0.8402 MB / 1.071 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.7875, allocations: 299.1 kB / 1.071 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.7877, allocations: 12 kB / 1.071 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7888, allocations: 111.8 kB / 1.071 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.7889, allocations: 35.84 kB / 1.071 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/0.7889, allocations: 27.97 kB / 1.071 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00141/0.7903, allocations: 0.9728 MB / 1.072 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2e-07/0.7903, allocations: 0 / 1.072 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001627/0.792, allocations: 0.5694 MB / 1.073 GB, free: 10.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0006272/0.7926, allocations: 288.8 kB / 1.073 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002749/0.7954, allocations: 1.149 MB / 1.074 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7954, allocations: 4.938 kB / 1.074 GB, free: 8.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006534/0.796, allocations: 280.5 kB / 1.074 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/0.7999, allocations: 0.7664 MB / 1.075 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.8049, allocations: 2.72 MB / 1.078 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008507/0.8058, allocations: 1.182 MB / 1.079 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001615/0.8074, allocations: 367.4 kB / 1.079 GB, free: 3.242 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.8077, allocations: 111.4 kB / 1.079 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/0.8077, allocations: 0 / 1.079 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of Templates: time 0.04397/0.8517, allocations: 25.1 MB / 1.104 GB, free: 10.38 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)