Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.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) 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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.973/1.973, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001546/0.001546, allocations: 171.5 kB / 393.1 MB, free: 4.066 MB / 314.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.358/1.358, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4949 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008204/0.0008204, allocations: 98.02 kB / 0.7935 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 12 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5241/0.5244, allocations: 121.3 MB / 1.041 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.04444/0.5689, allocations: 62.02 MB / 1.101 GB, free: 12.16 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01794/0.5869, allocations: 19.37 MB / 1.12 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.5893, allocations: 50.56 kB / 1.12 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.5919, allocations: 0.885 MB / 1.121 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006412/0.5984, allocations: 2.2 MB / 1.123 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004404/0.6028, allocations: 1.482 MB / 1.125 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00707/0.6099, allocations: 5.453 MB / 1.13 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.6118, allocations: 1.176 MB / 1.131 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/0.6149, allocations: 1.415 MB / 1.133 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.6171, allocations: 1.221 MB / 1.134 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.6174, allocations: 81.72 kB / 1.134 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.6205, allocations: 1.238 MB / 1.135 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004359/0.6209, allocations: 397.5 kB / 1.136 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.6222, allocations: 0.8992 MB / 1.136 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.6263, allocations: 3.022 MB / 1.139 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.6263, allocations: 0 / 1.139 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6263, allocations: 1.062 kB / 1.139 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.6264, allocations: 0 / 1.139 GB, free: 2.957 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.003847/0.6302, allocations: 2.021 MB / 1.141 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.6303, allocations: 17.69 kB / 1.141 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.6316, allocations: 346.4 kB / 1.142 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.6338, allocations: 1.433 MB / 1.143 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.634, allocations: 156.7 kB / 1.143 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.6342, allocations: 108.2 kB / 1.143 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.637, allocations: 1.478 MB / 1.145 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.6371, allocations: 9.078 kB / 1.145 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.6372, allocations: 48.28 kB / 1.145 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-05/0.6373, allocations: 32.34 kB / 1.145 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/0.6404, allocations: 1.429 MB / 1.146 GB, free: 15.43 MB / 0.7292 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.008282/0.6487, allocations: 6.648 MB / 1.153 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/0.6509, allocations: 1.218 MB / 1.154 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.6522, allocations: 0.6081 MB / 1.155 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007982/0.6531, allocations: 1.144 MB / 1.156 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.6531, allocations: 44.62 kB / 1.156 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=77): time 3.076e-06/0.6531, allocations: 0.5625 kB / 1.156 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=77): time 0.00441/0.6575, allocations: 1.734 MB / 1.157 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.6576, allocations: 116.6 kB / 1.158 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002068/0.6597, allocations: 1.37 MB / 1.159 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.6598, allocations: 45.7 kB / 1.159 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/0.6604, allocations: 0.7234 MB / 1.16 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.6607, allocations: 259 kB / 1.16 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.709e-05/0.6608, allocations: 16 kB / 1.16 GB, free: 5.629 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6609, allocations: 340.9 kB / 1.16 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.6622, allocations: 0.5288 MB / 1.161 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.6636, allocations: 0.7719 MB / 1.161 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/0.6662, allocations: 1.229 MB / 1.163 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.6662, allocations: 0 / 1.163 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003185/0.6694, allocations: 1.451 MB / 1.164 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.6696, allocations: 239.4 kB / 1.164 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.6696, allocations: 4 kB / 1.164 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.6696, allocations: 8 kB / 1.164 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.6709, allocations: 303.9 kB / 1.165 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.6709, allocations: 16.69 kB / 1.165 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.6723, allocations: 209.3 kB / 1.165 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-05/0.6724, allocations: 39.7 kB / 1.165 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.6724, allocations: 4 kB / 1.165 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002843/0.6752, allocations: 1.288 MB / 1.166 GB, free: 15.79 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6752, allocations: 8.547 kB / 1.166 GB, free: 15.78 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.6752, allocations: 8 kB / 1.166 GB, free: 15.77 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.6764, allocations: 295.1 kB / 1.166 GB, free: 15.54 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.6765, allocations: 9.078 kB / 1.166 GB, free: 15.53 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6778, allocations: 213.6 kB / 1.167 GB, free: 15.36 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/0.6779, allocations: 43.22 kB / 1.167 GB, free: 15.32 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0007255/0.6786, allocations: 456.3 kB / 1.167 GB, free: 14.88 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.6788, allocations: 150.2 kB / 1.167 GB, free: 14.73 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/0.6821, allocations: 1.57 MB / 1.169 GB, free: 13.43 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.6821, allocations: 13.08 kB / 1.169 GB, free: 13.42 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6822, allocations: 0 / 1.169 GB, free: 13.42 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002564/0.6847, allocations: 1.211 MB / 1.17 GB, free: 12.34 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005777/0.6905, allocations: 3.175 MB / 1.173 GB, free: 9.699 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.6905, allocations: 4 kB / 1.173 GB, free: 9.695 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009939/0.6915, allocations: 220 kB / 1.173 GB, free: 9.523 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.6916, allocations: 8 kB / 1.173 GB, free: 9.516 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-05/0.6916, allocations: 19.28 kB / 1.173 GB, free: 9.5 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.6917, allocations: 13.2 kB / 1.173 GB, free: 9.488 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.6917, allocations: 7.938 kB / 1.173 GB, free: 9.48 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004381/0.696, allocations: 2.213 MB / 1.176 GB, free: 7.461 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/0.6968, allocations: 405.3 kB / 1.176 GB, free: 7.102 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/0.6971, allocations: 21.27 kB / 1.176 GB, free: 7.082 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.6983, allocations: 179.6 kB / 1.176 GB, free: 6.949 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.6985, allocations: 78.78 kB / 1.176 GB, free: 6.898 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.886e-05/0.6987, allocations: 47.95 kB / 1.176 GB, free: 6.859 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.001512/0.7002, allocations: 1.05 MB / 1.177 GB, free: 5.973 MB / 0.7449 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7002, allocations: 0 / 1.177 GB, free: 5.973 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.002414/0.7026, allocations: 0.7921 MB / 1.178 GB, free: 5.188 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00109/0.7037, allocations: 468.9 kB / 1.178 GB, free: 4.77 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.004639/0.7084, allocations: 1.948 MB / 1.18 GB, free: 3.109 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7084, allocations: 0 / 1.18 GB, free: 3.109 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.71, allocations: 0.691 MB / 1.181 GB, free: 2.516 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/0.7143, allocations: 0.8197 MB / 1.182 GB, free: 1.883 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.7187, allocations: 3.376 MB / 1.185 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.7195, allocations: 1.278 MB / 1.186 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0017/0.7212, allocations: 404.2 kB / 1.187 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/0.7217, allocations: 139.3 kB / 1.187 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of SimCode: time 5.21e-07/0.7217, allocations: 0 / 1.187 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of Templates: time 0.05154/0.7732, allocations: 33.28 MB / 1.219 GB, free: 11.75 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)