Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009316/0.0009316, allocations: 178.4 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205 MB / 0.5766 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008105/0.0008107, allocations: 90.47 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002793, allocations: 11.41 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1655, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.04347/0.2091, allocations: 69.16 MB / 0.9643 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.2291, allocations: 14.72 MB / 0.9787 GB, free: 20 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.2315, allocations: 67.67 kB / 0.9787 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.2335, allocations: 0.7654 MB / 0.9795 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006019/0.2395, allocations: 2.311 MB / 0.9817 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004403/0.2439, allocations: 1.798 MB / 0.9835 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005998/0.25, allocations: 5.819 MB / 0.9892 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.2516, allocations: 1.254 MB / 0.9904 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/0.2541, allocations: 1.45 MB / 0.9918 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.2556, allocations: 1.186 MB / 0.993 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.2558, allocations: 68 kB / 0.993 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.2593, allocations: 1.821 MB / 0.9948 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.2596, allocations: 330.4 kB / 0.9951 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0008814/0.2605, allocations: 0.8628 MB / 0.996 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004781/0.2653, allocations: 3.412 MB / 0.9993 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2653, allocations: 4 kB / 0.9993 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2653, allocations: 0 / 0.9993 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.525e-05/0.2653, allocations: 4 kB / 0.9993 GB, free: 10.8 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003499/0.2688, allocations: 1.979 MB / 1.001 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.2689, allocations: 8.031 kB / 1.001 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/0.2741, allocations: 0.7286 MB / 1.002 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.2765, allocations: 1.547 MB / 1.003 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.2767, allocations: 128 kB / 1.004 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.2769, allocations: 124 kB / 1.004 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.2806, allocations: 1.665 MB / 1.005 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.2806, allocations: 7.922 kB / 1.005 GB, free: 4.391 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.2807, allocations: 52 kB / 1.005 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.2808, allocations: 35.94 kB / 1.005 GB, free: 4.305 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/0.2852, allocations: 1.531 MB / 1.007 GB, free: 2.766 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.009025/0.2943, allocations: 7.287 MB / 1.014 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.2965, allocations: 0.849 MB / 1.015 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.2982, allocations: 0.5256 MB / 1.015 GB, free: 9.703 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/0.2994, allocations: 1.271 MB / 1.017 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.2995, allocations: 47.12 kB / 1.017 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 3.356e-06/0.2995, allocations: 0 / 1.017 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.02785/0.3273, allocations: 4.315 MB / 1.021 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.3274, allocations: 111.4 kB / 1.021 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.3294, allocations: 1.359 MB / 1.022 GB, free: 2.25 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000116/0.3295, allocations: 49.69 kB / 1.022 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.3301, allocations: 0.6764 MB / 1.023 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.3304, allocations: 240.6 kB / 1.023 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3305, allocations: 77.67 kB / 1.023 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3306, allocations: 337.9 kB / 1.024 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.3325, allocations: 0.525 MB / 1.024 GB, free: 340 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.3346, allocations: 0.8018 MB / 1.025 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.3382, allocations: 1.183 MB / 1.026 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3382, allocations: 0 / 1.026 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005042/0.3432, allocations: 1.64 MB / 1.028 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.3435, allocations: 277 kB / 1.028 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.3435, allocations: 12 kB / 1.028 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/0.3454, allocations: 0.5501 MB / 1.029 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.3467, allocations: 255.6 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.3488, allocations: 1.174 MB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.3512, allocations: 282.6 kB / 1.03 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.3513, allocations: 59.88 kB / 1.03 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.3514, allocations: 8 kB / 1.03 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004454/0.3558, allocations: 1.472 MB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3558, allocations: 4.562 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/0.3575, allocations: 0.55 MB / 1.032 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.3588, allocations: 251.6 kB / 1.032 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.3606, allocations: 1.174 MB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.3626, allocations: 247 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.3627, allocations: 55.94 kB / 1.034 GB, free: 6.004 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007127/0.3634, allocations: 452.8 kB / 1.034 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.3637, allocations: 150.2 kB / 1.034 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/0.3678, allocations: 1.418 MB / 1.036 GB, free: 3.969 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003655/0.3715, allocations: 1.215 MB / 1.037 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.3715, allocations: 0 / 1.037 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005541/0.3721, allocations: 351 kB / 1.037 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/0.3723, allocations: 12 kB / 1.037 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.3738, allocations: 163.7 kB / 1.038 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3739, allocations: 40.5 kB / 1.038 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006275/0.3802, allocations: 1.578 MB / 1.039 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004998/0.3852, allocations: 1.81 MB / 1.041 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001545/0.3868, allocations: 472.4 kB / 1.041 GB, free: 14.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001591/0.3884, allocations: 0.9613 MB / 1.042 GB, free: 13.31 MB / 0.698 GB Notification: Performance of Backend: time 1.052e-06/0.3884, allocations: 0 / 1.042 GB, free: 13.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007209/0.3956, allocations: 2.265 MB / 1.044 GB, free: 11.05 MB / 0.698 GB Notification: Performance of SimCode: time 0.005781/0.4014, allocations: 4.011 MB / 1.048 GB, free: 7.008 MB / 0.698 GB Notification: Performance of Templates: time 0.3571/0.7585, allocations: 43.51 MB / 1.091 GB, free: 134.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)