Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 108.2 kB / 16.37 MB, free: 6.305 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.001094/0.001094, allocations: 192.3 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 64.28 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2175, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.4948/0.7124, allocations: 130.9 MB / 0.9126 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03823/0.7507, allocations: 24.78 MB / 0.9368 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00591/0.7566, allocations: 139.2 kB / 0.9369 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00548/0.7622, allocations: 1.735 MB / 0.9386 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01353/0.7757, allocations: 4.469 MB / 0.943 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009567/0.7853, allocations: 3.533 MB / 0.9464 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01313/0.7985, allocations: 9.002 MB / 0.9552 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004937/0.8035, allocations: 3.206 MB / 0.9584 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007862/0.8114, allocations: 3.461 MB / 0.9617 GB, free: 5.047 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004617/0.816, allocations: 2.49 MB / 0.9642 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008044/0.8168, allocations: 395.9 kB / 0.9645 GB, free: 2.16 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007063/0.8239, allocations: 2.896 MB / 0.9674 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.8249, allocations: 0.8839 MB / 0.9682 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.8276, allocations: 1.999 MB / 0.9702 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.838, allocations: 6.369 MB / 0.9764 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.838, allocations: 4 kB / 0.9764 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.964e-06/0.838, allocations: 0 / 0.9764 GB, free: 5.98 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001903/0.8382, allocations: 4 kB / 0.9764 GB, free: 5.977 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009675/0.8479, allocations: 4.086 MB / 0.9804 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.848, allocations: 8.031 kB / 0.9804 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/0.8591, allocations: 1.377 MB / 0.9818 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004879/0.864, allocations: 2.966 MB / 0.9847 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002405/0.8643, allocations: 248 kB / 0.9849 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003628/0.8647, allocations: 239.9 kB / 0.9851 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007548/0.8722, allocations: 3.209 MB / 0.9882 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.049e-05/0.8723, allocations: 7.938 kB / 0.9883 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000268/0.8726, allocations: 99.98 kB / 0.9884 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.808e-05/0.8727, allocations: 72.55 kB / 0.9884 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009388/0.8821, allocations: 2.831 MB / 0.9912 GB, free: 6.449 MB / 0.7794 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.01989/0.902, allocations: 13.41 MB / 1.004 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004454/0.9064, allocations: 1.484 MB / 1.006 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003264/0.9097, allocations: 0.942 MB / 1.007 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/0.9116, allocations: 1.778 MB / 1.008 GB, free: 3.812 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003883/0.9155, allocations: 1.213 MB / 1.01 GB, free: 2.535 MB / 0.795 GB Notification: Performance of pre-optimization done (n=130): time 4.128e-06/0.9155, allocations: 0 / 1.01 GB, free: 2.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=130): time 0.04121/0.9567, allocations: 5.833 MB / 1.015 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000263/0.957, allocations: 0.5805 MB / 1.016 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00417/0.9612, allocations: 2.532 MB / 1.018 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003271/0.9615, allocations: 65.69 kB / 1.018 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.9628, allocations: 1.338 MB / 1.02 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000505/0.9633, allocations: 457.5 kB / 1.02 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007589/0.9641, allocations: 466.9 kB / 1.021 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9642, allocations: 305.1 kB / 1.021 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003988/0.9682, allocations: 1.012 MB / 1.022 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004504/0.9727, allocations: 1.591 MB / 1.023 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007633/0.9803, allocations: 2.27 MB / 1.026 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.9804, allocations: 7.984 kB / 1.026 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02464/1.005, allocations: 4.113 MB / 1.03 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/1.005, allocations: 37.7 kB / 1.03 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/1.005, allocations: 12.06 kB / 1.03 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003562/1.009, allocations: 0.9534 MB / 1.031 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003001/1.012, allocations: 499.1 kB / 1.031 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/1.015, allocations: 1.979 MB / 1.033 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004845/1.02, allocations: 445.9 kB / 1.033 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002801/1.02, allocations: 107.8 kB / 1.034 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004959/1.025, allocations: 1.503 MB / 1.035 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004433/1.03, allocations: 1.575 MB / 1.037 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007472/1.037, allocations: 2.242 MB / 1.039 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.496e-06/1.037, allocations: 4 kB / 1.039 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02423/1.062, allocations: 4.083 MB / 1.043 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/1.062, allocations: 45.83 kB / 1.043 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/1.062, allocations: 12 kB / 1.043 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003474/1.065, allocations: 0.9472 MB / 1.044 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.068, allocations: 491.2 kB / 1.044 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003471/1.072, allocations: 1.982 MB / 1.046 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/1.077, allocations: 394.9 kB / 1.046 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.077, allocations: 103.9 kB / 1.047 GB, free: 11.41 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (186): * Single equations (assignments): 183 * 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 {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006724/1.078, allocations: 308.4 kB / 1.047 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007665/1.078, allocations: 268.8 kB / 1.047 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01185/1.09, allocations: 2.511 MB / 1.05 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01027/1.1, allocations: 2.13 MB / 1.052 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/1.101, allocations: 4 kB / 1.052 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/1.103, allocations: 0.5795 MB / 1.052 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005456/1.103, allocations: 35.94 kB / 1.052 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003059/1.106, allocations: 215.7 kB / 1.052 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/1.106, allocations: 96.8 kB / 1.053 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01349/1.12, allocations: 3.288 MB / 1.056 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0115/1.131, allocations: 3.782 MB / 1.059 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003302/1.135, allocations: 0.886 MB / 1.06 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003408/1.138, allocations: 1.758 MB / 1.062 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of Backend: time 7.82e-07/1.138, allocations: 0 / 1.062 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01681/1.155, allocations: 3.999 MB / 1.066 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of SimCode: time 0.02036/1.175, allocations: 6.282 MB / 1.072 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of Templates: time 0.5097/1.685, allocations: 89.18 MB / 1.159 GB, free: 296.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)