Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_latest_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.001599/0.001599, allocations: 111.6 kB / 16.42 MB, free: 6.457 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.001892/0.001892, allocations: 192.2 kB / 17.35 MB, free: 5.715 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.381/1.381, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.563/2.563, allocations: 461.9 MB / 0.7355 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 59.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7055/0.7068, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.1328/0.8397, allocations: 130.9 MB / 1.336 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03523/0.875, allocations: 25.03 MB / 1.361 GB, free: 1.199 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005276/0.8803, allocations: 135.2 kB / 1.361 GB, free: 1.066 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005237/0.8856, allocations: 1.735 MB / 1.363 GB, free: 15.32 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.8983, allocations: 4.496 MB / 1.367 GB, free: 10.81 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.009323/0.9076, allocations: 3.525 MB / 1.37 GB, free: 7.312 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01368/0.9213, allocations: 9.05 MB / 1.379 GB, free: 14.24 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005668/0.927, allocations: 3.211 MB / 1.382 GB, free: 10.97 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007342/0.9344, allocations: 3.53 MB / 1.386 GB, free: 7.438 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004038/0.9384, allocations: 2.486 MB / 1.388 GB, free: 4.941 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.9396, allocations: 392 kB / 1.389 GB, free: 4.559 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00663/0.9462, allocations: 2.902 MB / 1.391 GB, free: 1.652 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.9476, allocations: 0.8877 MB / 1.392 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0035/0.9512, allocations: 1.995 MB / 1.394 GB, free: 14.75 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.9619, allocations: 6.367 MB / 1.4 GB, free: 8.375 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.9619, allocations: 0 / 1.4 GB, free: 8.375 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9619, allocations: 7.938 kB / 1.4 GB, free: 8.367 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001441/0.9621, allocations: 0 / 1.4 GB, free: 8.367 MB / 1.123 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.008972/0.9711, allocations: 4.072 MB / 1.404 GB, free: 4.188 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9711, allocations: 8.031 kB / 1.404 GB, free: 4.18 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.9823, allocations: 1.377 MB / 1.406 GB, free: 2.797 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006043/0.9884, allocations: 2.996 MB / 1.409 GB, free: 15.72 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003009/0.9887, allocations: 248 kB / 1.409 GB, free: 15.46 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006326/0.9894, allocations: 240 kB / 1.409 GB, free: 15.23 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008832/0.9982, allocations: 3.193 MB / 1.412 GB, free: 11.86 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-05/0.9983, allocations: 7.938 kB / 1.412 GB, free: 11.85 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003739/0.9987, allocations: 107.9 kB / 1.412 GB, free: 11.74 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-05/0.9988, allocations: 75.92 kB / 1.412 GB, free: 11.67 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009792/1.009, allocations: 2.827 MB / 1.415 GB, free: 8.824 MB / 1.139 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.01998/1.029, allocations: 13.39 MB / 1.428 GB, free: 10.81 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004581/1.033, allocations: 1.499 MB / 1.43 GB, free: 9.305 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/1.037, allocations: 0.9371 MB / 1.431 GB, free: 8.363 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/1.038, allocations: 1.778 MB / 1.432 GB, free: 6.199 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003998/1.043, allocations: 1.216 MB / 1.434 GB, free: 4.914 MB / 1.154 GB Notification: Performance of pre-optimization done (n=130): time 5.119e-06/1.043, allocations: 0 / 1.434 GB, free: 4.914 MB / 1.154 GB Notification: Performance of matching and sorting (n=130): time 0.04174/1.084, allocations: 5.835 MB / 1.439 GB, free: 15.03 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000236/1.085, allocations: 0.5766 MB / 1.44 GB, free: 14.32 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004606/1.089, allocations: 2.54 MB / 1.442 GB, free: 11.76 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003447/1.09, allocations: 61.7 kB / 1.442 GB, free: 11.69 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001219/1.091, allocations: 1.338 MB / 1.444 GB, free: 10.34 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005977/1.091, allocations: 453.5 kB / 1.444 GB, free: 9.891 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009046/1.092, allocations: 466.9 kB / 1.445 GB, free: 9.426 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/1.092, allocations: 309.1 kB / 1.445 GB, free: 9.121 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003955/1.096, allocations: 1.012 MB / 1.446 GB, free: 8.105 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/1.101, allocations: 1.587 MB / 1.447 GB, free: 6.285 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007552/1.108, allocations: 2.268 MB / 1.45 GB, free: 3.852 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.108, allocations: 4 kB / 1.45 GB, free: 3.848 MB / 1.17 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02356/1.132, allocations: 4.109 MB / 1.454 GB, free: 15.72 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/1.132, allocations: 41.73 kB / 1.454 GB, free: 15.67 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/1.132, allocations: 12 kB / 1.454 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003536/1.136, allocations: 0.9541 MB / 1.455 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/1.139, allocations: 491.1 kB / 1.455 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/1.142, allocations: 1.995 MB / 1.457 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004782/1.147, allocations: 441.4 kB / 1.457 GB, free: 11.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004753/1.148, allocations: 103.9 kB / 1.458 GB, free: 11.65 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005503/1.153, allocations: 1.507 MB / 1.459 GB, free: 10.13 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00459/1.158, allocations: 1.571 MB / 1.461 GB, free: 8.324 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007677/1.165, allocations: 2.244 MB / 1.463 GB, free: 5.914 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.137e-05/1.165, allocations: 4 kB / 1.463 GB, free: 5.91 MB / 1.186 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02399/1.189, allocations: 4.077 MB / 1.467 GB, free: 1.805 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.417e-05/1.19, allocations: 36.2 kB / 1.467 GB, free: 1.766 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/1.19, allocations: 12 kB / 1.467 GB, free: 1.754 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/1.193, allocations: 0.9484 MB / 1.468 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/1.196, allocations: 495.2 kB / 1.468 GB, free: 328 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/1.199, allocations: 1.99 MB / 1.47 GB, free: 14.28 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/1.204, allocations: 378.9 kB / 1.471 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003257/1.204, allocations: 103.9 kB / 1.471 GB, free: 13.8 MB / 1.201 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.0006247/1.205, allocations: 302.1 kB / 1.471 GB, free: 13.5 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008962/1.206, allocations: 276.7 kB / 1.471 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/1.217, allocations: 2.52 MB / 1.474 GB, free: 10.69 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009999/1.227, allocations: 2.142 MB / 1.476 GB, free: 8.492 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.227, allocations: 0 / 1.476 GB, free: 8.492 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.229, allocations: 0.5795 MB / 1.476 GB, free: 7.891 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/1.229, allocations: 27.98 kB / 1.476 GB, free: 7.863 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/1.232, allocations: 223.6 kB / 1.477 GB, free: 7.645 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.233, allocations: 92.88 kB / 1.477 GB, free: 7.551 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01308/1.246, allocations: 3.298 MB / 1.48 GB, free: 4.238 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0111/1.257, allocations: 3.762 MB / 1.484 GB, free: 464 kB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00321/1.26, allocations: 0.8899 MB / 1.484 GB, free: 15.56 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003306/1.263, allocations: 1.762 MB / 1.486 GB, free: 13.8 MB / 1.217 GB Notification: Performance of Backend: time 3.61e-07/1.263, allocations: 0 / 1.486 GB, free: 13.8 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01993/1.283, allocations: 4 MB / 1.49 GB, free: 9.789 MB / 1.217 GB Notification: Performance of SimCode: time 0.01924/1.303, allocations: 6.261 MB / 1.496 GB, free: 3.504 MB / 1.217 GB Notification: Performance of Templates: time 0.7358/2.039, allocations: 91.1 MB / 1.585 GB, free: 332.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)