Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.789/1.789, allocations: 306.1 MB / 321.4 MB, free: 10.76 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.001098/0.001098, allocations: 175.3 kB / 393.1 MB, free: 4.086 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.422/1.422, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 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.0007516/0.0007516, allocations: 92.47 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 8 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5564/0.5568, allocations: 121.3 MB / 1.041 GB, free: 58.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.2005/0.7573, allocations: 207.6 MB / 1.244 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.7698, allocations: 9.861 MB / 1.253 GB, free: 9.336 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.7714, allocations: 35.75 kB / 1.253 GB, free: 9.301 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.7734, allocations: 0.6488 MB / 1.254 GB, free: 8.648 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.006635/0.7801, allocations: 2.356 MB / 1.256 GB, free: 6.285 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.7833, allocations: 1.054 MB / 1.257 GB, free: 5.242 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.00476/0.7881, allocations: 3.745 MB / 1.261 GB, free: 1.484 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.7896, allocations: 0.8948 MB / 1.262 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005329/0.795, allocations: 1.798 MB / 1.264 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.798, allocations: 0.9103 MB / 1.264 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0002181/0.7982, allocations: 48 kB / 1.264 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005506/0.8038, allocations: 2.767 MB / 1.267 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.8043, allocations: 342.7 kB / 1.267 GB, free: 10.7 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0009274/0.8052, allocations: 0.6195 MB / 1.268 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.004331/0.8095, allocations: 2.539 MB / 1.271 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.8096, allocations: 0 / 1.271 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.552e-06/0.8096, allocations: 0 / 1.271 GB, free: 7.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.8096, allocations: 0 / 1.271 GB, free: 7.52 MB / 0.8386 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.003865/0.8135, allocations: 1.602 MB / 1.272 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.8135, allocations: 12.03 kB / 1.272 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.8165, allocations: 0.5838 MB / 1.273 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.8183, allocations: 0.968 MB / 1.274 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006593/0.819, allocations: 189.9 kB / 1.274 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.8191, allocations: 84 kB / 1.274 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.8218, allocations: 1.264 MB / 1.275 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.8218, allocations: 0 / 1.275 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.8219, allocations: 35.98 kB / 1.275 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.219e-05/0.822, allocations: 53.86 kB / 1.275 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/0.8255, allocations: 1.608 MB / 1.277 GB, free: 1.012 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.006273/0.8318, allocations: 4.088 MB / 1.281 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.8343, allocations: 1.056 MB / 1.282 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.8358, allocations: 0.702 MB / 1.283 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001069/0.8369, allocations: 0.636 MB / 1.283 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.837, allocations: 43.22 kB / 1.283 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/0.837, allocations: 0 / 1.283 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76): time 0.004861/0.8418, allocations: 1.91 MB / 1.285 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.8419, allocations: 60.06 kB / 1.285 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.843, allocations: 0.8114 MB / 1.286 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.8431, allocations: 53.69 kB / 1.286 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003238/0.8435, allocations: 436.6 kB / 1.286 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.8437, allocations: 256.2 kB / 1.287 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-05/0.8437, allocations: 19.94 kB / 1.287 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8439, allocations: 337.9 kB / 1.287 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.8453, allocations: 0.5641 MB / 1.288 GB, free: 5.586 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.8468, allocations: 0.7027 MB / 1.288 GB, free: 4.848 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/0.8496, allocations: 1.213 MB / 1.289 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8496, allocations: 0 / 1.289 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003377/0.853, allocations: 1.427 MB / 1.291 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.8531, allocations: 156.8 kB / 1.291 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8531, allocations: 0 / 1.291 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.8532, allocations: 7.984 kB / 1.291 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.8548, allocations: 283.6 kB / 1.291 GB, free: 1.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007696/0.8555, allocations: 1.192 MB / 1.292 GB, free: 480 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.857, allocations: 191.3 kB / 1.293 GB, free: 288 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.8571, allocations: 43.91 kB / 1.293 GB, free: 244 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.8571, allocations: 7.938 kB / 1.293 GB, free: 236 kB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003211/0.8603, allocations: 1.317 MB / 1.294 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.8604, allocations: 0 / 1.294 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.8604, allocations: 4 kB / 1.294 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.8616, allocations: 251.8 kB / 1.294 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.8616, allocations: 4 kB / 1.294 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.8631, allocations: 195.1 kB / 1.294 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.8632, allocations: 39.97 kB / 1.294 GB, free: 14.42 MB / 0.8698 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.0006536/0.8638, allocations: 365 kB / 1.295 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.8641, allocations: 106.7 kB / 1.295 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003658/0.8678, allocations: 1.433 MB / 1.296 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.8678, allocations: 4 kB / 1.296 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.8678, allocations: 4 kB / 1.296 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.8679, allocations: 7.984 kB / 1.296 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006114/0.874, allocations: 2.909 MB / 1.299 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.874, allocations: 8 kB / 1.299 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.8754, allocations: 268 kB / 1.299 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.569e-05/0.8754, allocations: 4 kB / 1.299 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.756e-05/0.8755, allocations: 23.98 kB / 1.299 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006441/0.8761, allocations: 1.203 MB / 1.301 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.8762, allocations: 4 kB / 1.301 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/0.8797, allocations: 1.53 MB / 1.302 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006582/0.8804, allocations: 323.4 kB / 1.302 GB, free: 6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.8806, allocations: 16 kB / 1.302 GB, free: 5.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.882, allocations: 167.7 kB / 1.303 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.8822, allocations: 52.5 kB / 1.303 GB, free: 5.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.223e-05/0.8823, allocations: 35.97 kB / 1.303 GB, free: 5.734 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009431/0.8832, allocations: 0.566 MB / 1.303 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8832, allocations: 0 / 1.303 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001689/0.8849, allocations: 0.5263 MB / 1.304 GB, free: 4.629 MB / 0.8698 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.0006918/0.8856, allocations: 299.5 kB / 1.304 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005523/0.8912, allocations: 2.139 MB / 1.306 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.8912, allocations: 0 / 1.306 GB, free: 2.188 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.893, allocations: 0.7144 MB / 1.307 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/0.8962, allocations: 0.5096 MB / 1.307 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/0.9012, allocations: 2.553 MB / 1.31 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/0.902, allocations: 1.094 MB / 1.311 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002037/0.9041, allocations: 395.5 kB / 1.311 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/0.9045, allocations: 83.41 kB / 1.311 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of SimCode: time 1.452e-06/0.9046, allocations: 0 / 1.311 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of Templates: time 0.4571/1.362, allocations: 20 MB / 1.331 GB, free: 236.8 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)