Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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) 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 Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.201/2.201, allocations: 254.9 MB / 269.9 MB, free: 9.641 MB / 218.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.001409/0.001409, allocations: 193.2 kB / 329.5 MB, free: 1.176 MB / 250.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 2.298/2.298, allocations: 225.6 MB / 0.6001 GB, free: 2.242 MB / 426.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.0009845/0.0009839, allocations: 95.83 kB / 0.7074 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004976/0.0004978, allocations: 11 kB / 0.8242 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2138, allocations: 109.1 MB / 0.9308 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.09271/0.3066, allocations: 66.81 MB / 0.996 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.04089/0.3475, allocations: 18.88 MB / 1.014 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00357/0.3512, allocations: 87.38 kB / 1.015 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003624/0.3548, allocations: 0.6599 MB / 1.015 GB, free: 2.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007905/0.3628, allocations: 1.928 MB / 1.017 GB, free: 0.543 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.6232/0.986, allocations: 1.551 MB / 1.019 GB, free: 19.24 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01558/1.002, allocations: 9.128 MB / 1.027 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/1.013, allocations: 5.41 MB / 1.033 GB, free: 18.59 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00864/1.022, allocations: 2.686 MB / 1.035 GB, free: 18.57 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006461/1.029, allocations: 2.307 MB / 1.038 GB, free: 18.56 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001165/1.03, allocations: 129.6 kB / 1.038 GB, free: 18.56 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005404/1.035, allocations: 1.012 MB / 1.039 GB, free: 18.54 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001713/1.037, allocations: 0.6058 MB / 1.039 GB, free: 18.47 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.002156/1.039, allocations: 0.6413 MB / 1.04 GB, free: 18.33 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008033/1.047, allocations: 3.48 MB / 1.043 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.047, allocations: 0 / 1.043 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.826e-06/1.047, allocations: 0 / 1.043 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001817/1.047, allocations: 1.031 kB / 1.043 GB, free: 18.03 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01419/1.062, allocations: 3.858 MB / 1.047 GB, free: 16.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/1.062, allocations: 9.156 kB / 1.047 GB, free: 16.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/1.067, allocations: 0.5686 MB / 1.048 GB, free: 16.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008734/1.075, allocations: 2.466 MB / 1.05 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/1.076, allocations: 140.6 kB / 1.05 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005899/1.076, allocations: 188.3 kB / 1.05 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00724/1.083, allocations: 2.408 MB / 1.053 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.247e-05/1.084, allocations: 6.5 kB / 1.053 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/1.084, allocations: 66.62 kB / 1.053 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.939e-05/1.084, allocations: 41.81 kB / 1.053 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007679/1.092, allocations: 2.021 MB / 1.055 GB, free: 14.93 MB / 0.6511 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.02618/1.118, allocations: 12.13 MB / 1.067 GB, free: 7.852 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00556/1.124, allocations: 1.55 MB / 1.068 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003198/1.127, allocations: 1.096 MB / 1.069 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01227/1.139, allocations: 4.083 MB / 1.073 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002648/1.142, allocations: 0.8904 MB / 1.074 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003255/1.145, allocations: 450 kB / 1.075 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=96): time 7.043e-06/1.145, allocations: 0 / 1.075 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96): time 0.02937/1.174, allocations: 5.192 MB / 1.08 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/1.175, allocations: 68.27 kB / 1.08 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00672/1.181, allocations: 2.999 MB / 1.083 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004707/1.182, allocations: 53.45 kB / 1.083 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001713/1.184, allocations: 1.433 MB / 1.084 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/1.184, allocations: 337.9 kB / 1.084 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.184, allocations: 28.22 kB / 1.084 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.184, allocations: 364 kB / 1.085 GB, free: 276 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/1.187, allocations: 0.6891 MB / 1.085 GB, free: 140 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003166/1.19, allocations: 1.499 MB / 1.087 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/1.193, allocations: 0.8972 MB / 1.088 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.193, allocations: 6.25 kB / 1.088 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01136/1.204, allocations: 2.955 MB / 1.091 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004285/1.205, allocations: 0.5332 MB / 1.091 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/1.205, allocations: 13.62 kB / 1.091 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005178/1.21, allocations: 0.7802 MB / 1.092 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/1.212, allocations: 304.4 kB / 1.092 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003607/1.216, allocations: 2.17 MB / 1.094 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005315/1.221, allocations: 253.4 kB / 1.095 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/1.222, allocations: 84.53 kB / 1.095 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.222, allocations: 4 kB / 1.095 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0077/1.229, allocations: 2.306 MB / 1.097 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.04e-05/1.229, allocations: 12 kB / 1.097 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/1.232, allocations: 0.5865 MB / 1.098 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/1.235, allocations: 283.1 kB / 1.098 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.248, allocations: 6.503 MB / 1.104 GB, free: 3.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00487/1.253, allocations: 230.1 kB / 1.104 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004254/1.254, allocations: 71.3 kB / 1.104 GB, free: 3.219 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002555/1.256, allocations: 0.8308 MB / 1.105 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/1.257, allocations: 296.2 kB / 1.106 GB, free: 2.301 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008415/1.266, allocations: 2.489 MB / 1.108 GB, free: 72 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/1.266, allocations: 15.98 kB / 1.108 GB, free: 56 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.266, allocations: 0 / 1.108 GB, free: 56 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006947/1.273, allocations: 2.186 MB / 1.11 GB, free: 13.8 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.01454/1.287, allocations: 4.717 MB / 1.115 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/1.287, allocations: 0 / 1.115 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.289, allocations: 153.7 kB / 1.115 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/1.291, allocations: 0.5491 MB / 1.115 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/1.291, allocations: 23.98 kB / 1.115 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003193/1.294, allocations: 2.082 MB / 1.117 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.295, allocations: 8.062 kB / 1.117 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.305, allocations: 3.351 MB / 1.121 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/1.308, allocations: 0.5517 MB / 1.121 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009271/1.309, allocations: 20.88 kB / 1.121 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003981/1.313, allocations: 203.6 kB / 1.122 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/1.313, allocations: 64.91 kB / 1.122 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.313, allocations: 39.97 kB / 1.122 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.005017/1.318, allocations: 2.045 MB / 1.124 GB, free: 15.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.302e-06/1.318, allocations: 7.938 kB / 1.124 GB, free: 15.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007286/1.326, allocations: 1.482 MB / 1.125 GB, free: 14.39 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001636/1.327, allocations: 448 kB / 1.126 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.338, allocations: 3.251 MB / 1.129 GB, free: 10.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/1.338, allocations: 0 / 1.129 GB, free: 10.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/1.342, allocations: 0.8235 MB / 1.129 GB, free: 9.871 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01546/1.357, allocations: 1.561 MB / 1.131 GB, free: 8.309 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/1.373, allocations: 5.926 MB / 1.137 GB, free: 2.371 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.375, allocations: 2.033 MB / 1.139 GB, free: 320 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004513/1.38, allocations: 0.6794 MB / 1.139 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009552/1.381, allocations: 203.4 kB / 1.14 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/1.381, allocations: 0 / 1.14 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of Templates: time 0.1542/1.535, allocations: 57.39 MB / 1.196 GB, free: 6.715 MB / 0.7605 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)