Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001473, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00195/0.00195, allocations: 192.1 kB / 16.25 MB, free: 6.617 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.786/2.786, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 61.02 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3388, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1182/0.457, allocations: 125 MB / 1.19 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02216/0.4792, allocations: 15.31 MB / 1.205 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/0.4834, allocations: 75.5 kB / 1.205 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003938/0.4875, allocations: 0.8356 MB / 1.206 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008617/0.4961, allocations: 2.417 MB / 1.208 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005731/0.5019, allocations: 1.953 MB / 1.21 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007299/0.5092, allocations: 4.825 MB / 1.215 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003224/0.5124, allocations: 1.693 MB / 1.216 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004896/0.5174, allocations: 1.836 MB / 1.218 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002594/0.52, allocations: 1.369 MB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007123/0.5207, allocations: 208 kB / 1.22 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00516/0.5259, allocations: 2.009 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00088/0.5268, allocations: 0.5061 MB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002323/0.5291, allocations: 1.085 MB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007074/0.5362, allocations: 3.681 MB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5362, allocations: 0 / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5362, allocations: 0 / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001037/0.5364, allocations: 0 / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.006081/0.5424, allocations: 2.463 MB / 1.229 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5425, allocations: 8.031 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006298/0.5488, allocations: 0.7127 MB / 1.23 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/0.553, allocations: 1.666 MB / 1.231 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.5532, allocations: 136.1 kB / 1.232 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004134/0.5536, allocations: 124 kB / 1.232 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005159/0.5588, allocations: 1.734 MB / 1.233 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-05/0.5589, allocations: 3.938 kB / 1.233 GB, free: 432 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002039/0.5591, allocations: 56 kB / 1.233 GB, free: 376 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.944e-05/0.5591, allocations: 35.98 kB / 1.233 GB, free: 340 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005149/0.5643, allocations: 1.512 MB / 1.235 GB, free: 14.81 MB / 0.9981 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.01254/0.5768, allocations: 7.545 MB / 1.242 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004351/0.5812, allocations: 1.159 MB / 1.243 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00207/0.5833, allocations: 0.5939 MB / 1.244 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.5847, allocations: 1.279 MB / 1.245 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00243/0.5872, allocations: 0.6937 MB / 1.246 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 3.296e-06/0.5872, allocations: 0 / 1.246 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.6305/1.218, allocations: 3.159 MB / 1.249 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/1.218, allocations: 141.3 kB / 1.249 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/1.22, allocations: 1.273 MB / 1.25 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002703/1.221, allocations: 48.36 kB / 1.25 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00064/1.221, allocations: 0.7216 MB / 1.251 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/1.221, allocations: 277.1 kB / 1.251 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/1.222, allocations: 220.9 kB / 1.252 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/1.222, allocations: 349.8 kB / 1.252 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/1.224, allocations: 0.5305 MB / 1.252 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/1.227, allocations: 0.7965 MB / 1.253 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004194/1.231, allocations: 1.233 MB / 1.254 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/1.231, allocations: 1.938 kB / 1.254 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005841/1.237, allocations: 1.656 MB / 1.256 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/1.237, allocations: 5.656 kB / 1.256 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.237, allocations: 7.406 kB / 1.256 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001927/1.239, allocations: 0.5569 MB / 1.257 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.24, allocations: 252.6 kB / 1.257 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/1.242, allocations: 1.18 MB / 1.258 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.244, allocations: 227.4 kB / 1.258 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/1.244, allocations: 64.75 kB / 1.258 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002578/1.247, allocations: 0.8316 MB / 1.259 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002069/1.249, allocations: 0.7933 MB / 1.26 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0038/1.253, allocations: 1.211 MB / 1.261 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.49e-06/1.253, allocations: 2.594 kB / 1.261 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005434/1.258, allocations: 1.637 MB / 1.263 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.258, allocations: 10.11 kB / 1.263 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.258, allocations: 4.344 kB / 1.263 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/1.26, allocations: 0.5668 MB / 1.263 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.262, allocations: 235.5 kB / 1.263 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/1.264, allocations: 1.18 MB / 1.265 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/1.266, allocations: 206.2 kB / 1.265 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/1.266, allocations: 55.12 kB / 1.265 GB, free: 174.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003774/1.266, allocations: 238.7 kB / 1.265 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/1.267, allocations: 147.6 kB / 1.265 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/1.28, allocations: 2.132 MB / 1.267 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/1.28, allocations: 11.12 kB / 1.267 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.28, allocations: 0 / 1.267 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01294/1.293, allocations: 1.954 MB / 1.269 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009587/1.303, allocations: 3.636 MB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.303, allocations: 1.188 kB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.304, allocations: 179.6 kB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/1.306, allocations: 0.5521 MB / 1.273 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/1.306, allocations: 36.83 kB / 1.273 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/1.308, allocations: 1.161 MB / 1.275 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.308, allocations: 5.062 kB / 1.275 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/1.314, allocations: 1.588 MB / 1.276 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009971/1.315, allocations: 386.7 kB / 1.277 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004597/1.315, allocations: 14.45 kB / 1.277 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.317, allocations: 159.4 kB / 1.277 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.318, allocations: 46.66 kB / 1.277 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/1.318, allocations: 56.97 kB / 1.277 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001735/1.319, allocations: 0.8667 MB / 1.278 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.319, allocations: 0 / 1.278 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003042/1.323, allocations: 0.9644 MB / 1.279 GB, free: 168.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002185/1.325, allocations: 0.8891 MB / 1.279 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008112/1.333, allocations: 2.075 MB / 1.282 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/1.333, allocations: 1.656 kB / 1.282 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/1.335, allocations: 0.6337 MB / 1.282 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/1.339, allocations: 0.7646 MB / 1.283 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006435/1.346, allocations: 3.312 MB / 1.286 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/1.347, allocations: 1.266 MB / 1.287 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002185/1.349, allocations: 372 kB / 1.288 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/1.349, allocations: 144.9 kB / 1.288 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.349, allocations: 4 kB / 1.288 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.05361/1.403, allocations: 39.56 MB / 1.326 GB, free: 133.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)