Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 114.8 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 60.12 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7171/0.7185, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1253/0.8439, allocations: 130.9 MB / 1.295 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03523/0.8791, allocations: 25.01 MB / 1.32 GB, free: 7.461 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00489/0.8841, allocations: 135.2 kB / 1.32 GB, free: 7.328 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004773/0.8889, allocations: 1.79 MB / 1.321 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01222/0.9011, allocations: 4.718 MB / 1.326 GB, free: 0.793 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008572/0.9097, allocations: 3.53 MB / 1.329 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01119/0.9209, allocations: 8.991 MB / 1.338 GB, free: 4.277 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/0.9257, allocations: 3.187 MB / 1.341 GB, free: 1.027 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007434/0.9331, allocations: 3.526 MB / 1.345 GB, free: 13.5 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.9375, allocations: 2.483 MB / 1.347 GB, free: 11.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.9388, allocations: 391.9 kB / 1.348 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007017/0.9458, allocations: 2.886 MB / 1.35 GB, free: 7.734 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001473/0.9473, allocations: 0.8838 MB / 1.351 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003357/0.9507, allocations: 1.987 MB / 1.353 GB, free: 4.852 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009758/0.9605, allocations: 6.343 MB / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9605, allocations: 0 / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9605, allocations: 0 / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001627/0.9607, allocations: 4 kB / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008855/0.9695, allocations: 4.071 MB / 1.363 GB, free: 10.31 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.9696, allocations: 12.86 kB / 1.363 GB, free: 10.3 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.9814, allocations: 1.382 MB / 1.365 GB, free: 8.914 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005831/0.9872, allocations: 2.978 MB / 1.368 GB, free: 5.859 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.9876, allocations: 251.9 kB / 1.368 GB, free: 5.598 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005714/0.9881, allocations: 239.9 kB / 1.368 GB, free: 5.363 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00841/0.9966, allocations: 3.191 MB / 1.371 GB, free: 1.984 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-05/0.9966, allocations: 7.938 kB / 1.371 GB, free: 1.977 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003453/0.997, allocations: 104 kB / 1.371 GB, free: 1.875 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.431e-05/0.9971, allocations: 67.92 kB / 1.371 GB, free: 1.809 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009884/1.007, allocations: 2.835 MB / 1.374 GB, free: 14.95 MB / 1.107 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.02157/1.029, allocations: 13.6 MB / 1.387 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0045/1.033, allocations: 1.475 MB / 1.389 GB, free: 15.23 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003292/1.036, allocations: 0.9216 MB / 1.39 GB, free: 14.31 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001769/1.038, allocations: 1.773 MB / 1.392 GB, free: 12.15 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003866/1.042, allocations: 1.192 MB / 1.393 GB, free: 10.89 MB / 1.123 GB Notification: Performance of pre-optimization done (n=126): time 4.008e-06/1.042, allocations: 0 / 1.393 GB, free: 10.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=132): time 0.05607/1.098, allocations: 11.66 MB / 1.404 GB, free: 15.07 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002421/1.098, allocations: 0.5766 MB / 1.405 GB, free: 14.36 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004287/1.103, allocations: 2.643 MB / 1.407 GB, free: 11.7 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002712/1.103, allocations: 57.7 kB / 1.407 GB, free: 11.63 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/1.104, allocations: 1.326 MB / 1.409 GB, free: 10.29 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005358/1.105, allocations: 465.3 kB / 1.409 GB, free: 9.832 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007629/1.106, allocations: 466.9 kB / 1.41 GB, free: 9.371 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/1.106, allocations: 305.1 kB / 1.41 GB, free: 9.07 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003894/1.11, allocations: 0.9806 MB / 1.411 GB, free: 8.086 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004441/1.114, allocations: 1.581 MB / 1.412 GB, free: 6.262 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007467/1.122, allocations: 2.248 MB / 1.414 GB, free: 3.84 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.122, allocations: 4 kB / 1.414 GB, free: 3.836 MB / 1.139 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02371/1.145, allocations: 4.154 MB / 1.419 GB, free: 15.66 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/1.145, allocations: 37.7 kB / 1.419 GB, free: 15.61 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.145, allocations: 12 kB / 1.419 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003972/1.149, allocations: 1.159 MB / 1.42 GB, free: 14.44 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/1.152, allocations: 455.2 kB / 1.42 GB, free: 14 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004229/1.156, allocations: 2.383 MB / 1.422 GB, free: 11.56 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/1.161, allocations: 287.7 kB / 1.423 GB, free: 11.28 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/1.161, allocations: 107.9 kB / 1.423 GB, free: 11.18 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004847/1.166, allocations: 1.484 MB / 1.424 GB, free: 9.688 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00428/1.17, allocations: 1.565 MB / 1.426 GB, free: 7.887 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007245/1.177, allocations: 2.224 MB / 1.428 GB, free: 5.488 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.218e-05/1.177, allocations: 4 kB / 1.428 GB, free: 5.484 MB / 1.154 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02407/1.202, allocations: 4.123 MB / 1.432 GB, free: 1.336 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/1.202, allocations: 41.7 kB / 1.432 GB, free: 1.289 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/1.202, allocations: 19.88 kB / 1.432 GB, free: 1.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005818/1.207, allocations: 1.158 MB / 1.433 GB, free: 112 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004155/1.212, allocations: 451.5 kB / 1.434 GB, free: 15.67 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006518/1.218, allocations: 2.378 MB / 1.436 GB, free: 13.24 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007116/1.225, allocations: 312 kB / 1.436 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004249/1.226, allocations: 103.9 kB / 1.436 GB, free: 12.83 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0008484/1.227, allocations: 299.8 kB / 1.437 GB, free: 12.53 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.228, allocations: 288.5 kB / 1.437 GB, free: 12.24 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.241, allocations: 2.406 MB / 1.439 GB, free: 9.809 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01124/1.252, allocations: 2.014 MB / 1.441 GB, free: 7.738 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/1.252, allocations: 0 / 1.441 GB, free: 7.738 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/1.255, allocations: 0.5756 MB / 1.442 GB, free: 7.141 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009855/1.256, allocations: 35.94 kB / 1.442 GB, free: 7.105 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003684/1.259, allocations: 215.7 kB / 1.442 GB, free: 6.895 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/1.26, allocations: 96.88 kB / 1.442 GB, free: 6.801 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01385/1.273, allocations: 3.371 MB / 1.445 GB, free: 3.41 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01134/1.285, allocations: 3.754 MB / 1.449 GB, free: 15.64 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003337/1.288, allocations: 0.8828 MB / 1.45 GB, free: 14.75 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.003743/1.292, allocations: 1.847 MB / 1.452 GB, free: 12.9 MB / 1.186 GB Notification: Performance of Backend: time 6.21e-07/1.292, allocations: 0 / 1.452 GB, free: 12.9 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01835/1.31, allocations: 4.039 MB / 1.456 GB, free: 8.844 MB / 1.186 GB Notification: Performance of SimCode: time 0.01926/1.33, allocations: 6.407 MB / 1.462 GB, free: 2.414 MB / 1.186 GB Notification: Performance of Templates: time 0.1454/1.475, allocations: 92.15 MB / 1.552 GB, free: 6.809 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)