Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 297.4 MB / 312.6 MB, free: 2.895 MB / 234.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.001072/0.001073, allocations: 198 kB / 382.3 MB, free: 14.81 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.381/1.381, allocations: 225.7 MB / 0.6617 GB, free: 7.234 MB / 490.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.0008967/0.0008968, allocations: 92.05 kB / 0.7789 GB, free: 47.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003623, allocations: 12.75 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6245/0.6249, allocations: 119.2 MB / 1.022 GB, free: 58.33 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2147/0.8397, allocations: 207.6 MB / 1.225 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.8538, allocations: 9.774 MB / 1.235 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.8566, allocations: 39.69 kB / 1.235 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.8592, allocations: 0.6538 MB / 1.235 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.008294/0.8675, allocations: 2.335 MB / 1.238 GB, free: 1.652 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003794/0.8713, allocations: 1.064 MB / 1.239 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005879/0.8772, allocations: 3.724 MB / 1.242 GB, free: 13.73 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.8793, allocations: 0.8772 MB / 1.243 GB, free: 13.01 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/0.8842, allocations: 1.796 MB / 1.245 GB, free: 11.21 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/0.8869, allocations: 0.9126 MB / 1.246 GB, free: 10.29 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000361/0.8873, allocations: 44 kB / 1.246 GB, free: 10.25 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00642/0.8937, allocations: 2.759 MB / 1.248 GB, free: 7.484 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006784/0.8944, allocations: 346.7 kB / 1.249 GB, free: 7.145 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.8958, allocations: 0.6234 MB / 1.249 GB, free: 6.512 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/0.9009, allocations: 2.539 MB / 1.252 GB, free: 3.965 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9009, allocations: 0 / 1.252 GB, free: 3.965 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9009, allocations: 0 / 1.252 GB, free: 3.965 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.139e-05/0.901, allocations: 4 kB / 1.252 GB, free: 3.961 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.00453/0.9055, allocations: 1.602 MB / 1.253 GB, free: 2.297 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.9055, allocations: 11.97 kB / 1.253 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.9087, allocations: 0.5876 MB / 1.254 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.9106, allocations: 0.9525 MB / 1.255 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006055/0.9112, allocations: 205.8 kB / 1.255 GB, free: 0.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.9115, allocations: 87.98 kB / 1.255 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/0.9143, allocations: 1.26 MB / 1.256 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.9144, allocations: 0 / 1.256 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.9145, allocations: 32 kB / 1.256 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.583e-05/0.9145, allocations: 53.92 kB / 1.257 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/0.9182, allocations: 1.608 MB / 1.258 GB, free: 13.45 MB / 0.8386 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.006817/0.9251, allocations: 4.099 MB / 1.262 GB, free: 9.074 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/0.9276, allocations: 1.044 MB / 1.263 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.9291, allocations: 0.6937 MB / 1.264 GB, free: 7.332 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.9301, allocations: 0.6438 MB / 1.264 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.9302, allocations: 43.22 kB / 1.264 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=76): time 4.108e-06/0.9302, allocations: 0 / 1.264 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.004751/0.935, allocations: 1.917 MB / 1.266 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.935, allocations: 60.06 kB / 1.266 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.9362, allocations: 0.8154 MB / 1.267 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.9363, allocations: 41.7 kB / 1.267 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.9367, allocations: 440.5 kB / 1.268 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.9369, allocations: 260.2 kB / 1.268 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.937, allocations: 16 kB / 1.268 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9371, allocations: 337.9 kB / 1.268 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.9385, allocations: 0.5602 MB / 1.269 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.94, allocations: 0.6989 MB / 1.269 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002653/0.9426, allocations: 1.221 MB / 1.271 GB, free: 64 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9427, allocations: 4 kB / 1.271 GB, free: 60 kB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003333/0.946, allocations: 1.419 MB / 1.272 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.9461, allocations: 160.8 kB / 1.272 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9462, allocations: 4 kB / 1.272 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.9462, allocations: 4 kB / 1.272 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.9477, allocations: 283.4 kB / 1.272 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007762/0.9485, allocations: 1.199 MB / 1.274 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.9498, allocations: 195.4 kB / 1.274 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.9499, allocations: 31.98 kB / 1.274 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.9499, allocations: 7.938 kB / 1.274 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003031/0.953, allocations: 1.317 MB / 1.275 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.953, allocations: 4 kB / 1.275 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.953, allocations: 4 kB / 1.275 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.9542, allocations: 255.7 kB / 1.275 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.9542, allocations: 7.938 kB / 1.275 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.9554, allocations: 199.1 kB / 1.276 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-05/0.9555, allocations: 31.98 kB / 1.276 GB, free: 10.87 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000568/0.956, allocations: 369.6 kB / 1.276 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.9563, allocations: 106.7 kB / 1.276 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003333/0.9596, allocations: 1.426 MB / 1.277 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.9596, allocations: 12 kB / 1.277 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.9596, allocations: 0 / 1.277 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.9597, allocations: 7.984 kB / 1.278 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/0.9653, allocations: 2.909 MB / 1.28 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.9653, allocations: 4 kB / 1.28 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.9666, allocations: 260 kB / 1.281 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.9666, allocations: 11.98 kB / 1.281 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-05/0.9667, allocations: 23.98 kB / 1.281 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000575/0.9673, allocations: 1.184 MB / 1.282 GB, free: 4.406 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.9673, allocations: 4 kB / 1.282 GB, free: 4.402 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/0.9705, allocations: 1.533 MB / 1.283 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005557/0.9711, allocations: 315.5 kB / 1.284 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.9712, allocations: 15.98 kB / 1.284 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.9725, allocations: 171.7 kB / 1.284 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.9726, allocations: 60.36 kB / 1.284 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.558e-05/0.9727, allocations: 35.97 kB / 1.284 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007818/0.9735, allocations: 0.5621 MB / 1.284 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9735, allocations: 0 / 1.284 GB, free: 1.629 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001441/0.975, allocations: 0.5418 MB / 1.285 GB, free: 1.086 MB / 0.8542 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 (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006046/0.9756, allocations: 292.6 kB / 1.285 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005122/0.9807, allocations: 2.143 MB / 1.287 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9807, allocations: 4.062 kB / 1.287 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/0.9824, allocations: 0.7065 MB / 1.288 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002858/0.9852, allocations: 0.5002 MB / 1.288 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.9898, allocations: 2.563 MB / 1.291 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/0.9905, allocations: 1.091 MB / 1.292 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001703/0.9922, allocations: 395.5 kB / 1.292 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.9926, allocations: 87.39 kB / 1.293 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/0.9926, allocations: 0 / 1.293 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of Templates: time 0.03496/1.028, allocations: 20.01 MB / 1.312 GB, free: 5.445 MB / 0.8855 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)