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.0008724/0.0008725, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005627/0.005627, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.479/1.479, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.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.775/1.775, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005234/0.0005232, allocations: 14.19 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2516, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.5609/0.8126, allocations: 127.9 MB / 0.9128 GB, free: 40.45 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03268/0.8453, allocations: 24.72 MB / 0.9369 GB, free: 40.01 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007033/0.8524, allocations: 114.7 kB / 0.937 GB, free: 40.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006131/0.8585, allocations: 1.412 MB / 0.9384 GB, free: 39.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01589/0.8745, allocations: 4.135 MB / 0.9424 GB, free: 39.74 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01476/0.8893, allocations: 3.215 MB / 0.9456 GB, free: 39.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02032/0.9096, allocations: 11.41 MB / 0.9567 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006026/0.9157, allocations: 2.531 MB / 0.9592 GB, free: 35.64 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007704/0.9234, allocations: 2.761 MB / 0.9619 GB, free: 34.79 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005759/0.9292, allocations: 2.314 MB / 0.9642 GB, free: 34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00121/0.9304, allocations: 134.9 kB / 0.9643 GB, free: 34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008257/0.9387, allocations: 2.474 MB / 0.9667 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001655/0.9404, allocations: 0.6197 MB / 0.9673 GB, free: 32.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004347/0.9448, allocations: 1.721 MB / 0.969 GB, free: 31.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.9572, allocations: 6.051 MB / 0.9749 GB, free: 27.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.9572, allocations: 3.938 kB / 0.9749 GB, free: 27.83 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.544e-06/0.9572, allocations: 0 / 0.9749 GB, free: 27.83 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002187/0.9574, allocations: 0 / 0.9749 GB, free: 27.83 MB / 0.7169 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.007752/0.9652, allocations: 3.363 MB / 0.9782 GB, free: 25.39 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.9653, allocations: 9.188 kB / 0.9782 GB, free: 25.39 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.9764, allocations: 1.458 MB / 0.9796 GB, free: 24.79 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005667/0.9821, allocations: 2.924 MB / 0.9825 GB, free: 22.55 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/0.9824, allocations: 261.7 kB / 0.9827 GB, free: 22.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004926/0.9829, allocations: 231.9 kB / 0.9829 GB, free: 22.33 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007572/0.9905, allocations: 3.243 MB / 0.9861 GB, free: 20.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.793e-05/0.9906, allocations: 11.53 kB / 0.9861 GB, free: 20.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/0.9909, allocations: 102.4 kB / 0.9862 GB, free: 20.15 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.022e-05/0.9909, allocations: 68.73 kB / 0.9863 GB, free: 20.14 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008898/0.9999, allocations: 2.896 MB / 0.9891 GB, free: 18.7 MB / 0.7169 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.02027/1.02, allocations: 13.47 MB / 1.002 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004071/1.024, allocations: 1.524 MB / 1.004 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003067/1.027, allocations: 0.9605 MB / 1.005 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/1.029, allocations: 1.786 MB / 1.006 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003748/1.033, allocations: 1.248 MB / 1.008 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 3.977e-06/1.033, allocations: 1.859 kB / 1.008 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.04215/1.075, allocations: 6.021 MB / 1.014 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003094/1.075, allocations: 0.5882 MB / 1.014 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/1.08, allocations: 2.5 MB / 1.017 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004348/1.08, allocations: 65.7 kB / 1.017 GB, free: 7.797 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/1.082, allocations: 1.339 MB / 1.018 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009177/1.083, allocations: 455.6 kB / 1.018 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/1.083, allocations: 157.6 kB / 1.019 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001111/1.083, allocations: 301.1 kB / 1.019 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004208/1.087, allocations: 1.031 MB / 1.02 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004651/1.092, allocations: 1.626 MB / 1.021 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007765/1.1, allocations: 2.338 MB / 1.024 GB, free: 156 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/1.1, allocations: 8 kB / 1.024 GB, free: 148 kB / 0.7325 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02427/1.124, allocations: 4.22 MB / 1.028 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004316/1.125, allocations: 486.9 kB / 1.028 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/1.125, allocations: 12 kB / 1.028 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003578/1.128, allocations: 0.9593 MB / 1.029 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/1.131, allocations: 0.4953 MB / 1.03 GB, free: 9.785 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/1.135, allocations: 1.995 MB / 1.032 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/1.14, allocations: 0.5286 MB / 1.032 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/1.141, allocations: 103.9 kB / 1.032 GB, free: 7.105 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.141, allocations: 7.938 kB / 1.032 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02357/1.164, allocations: 3.938 MB / 1.036 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/1.164, allocations: 12 kB / 1.036 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/1.168, allocations: 0.9566 MB / 1.037 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002935/1.171, allocations: 0.4953 MB / 1.038 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/1.174, allocations: 1.999 MB / 1.039 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005246/1.18, allocations: 470.4 kB / 1.04 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/1.18, allocations: 112.1 kB / 1.04 GB, free: 15.07 MB / 0.7637 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.001624/1.182, allocations: 0.6998 MB / 1.041 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008281/1.183, allocations: 272.7 kB / 1.041 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.194, allocations: 2.576 MB / 1.044 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.036e-05/1.194, allocations: 15.94 kB / 1.044 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.194, allocations: 4 kB / 1.044 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01071/1.205, allocations: 2.193 MB / 1.046 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02791/1.233, allocations: 7.579 MB / 1.053 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/1.233, allocations: 12.09 kB / 1.053 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/1.235, allocations: 299.5 kB / 1.053 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/1.238, allocations: 0.9401 MB / 1.054 GB, free: 312 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002305/1.239, allocations: 59.88 kB / 1.054 GB, free: 252 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003242/1.242, allocations: 1.981 MB / 1.056 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/1.242, allocations: 11.94 kB / 1.056 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.255, allocations: 3.735 MB / 1.06 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/1.257, allocations: 0.669 MB / 1.061 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005964/1.257, allocations: 39.98 kB / 1.061 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00403/1.261, allocations: 298.3 kB / 1.061 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/1.261, allocations: 112.7 kB / 1.061 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/1.262, allocations: 75.92 kB / 1.061 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003282/1.265, allocations: 1.766 MB / 1.063 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/1.265, allocations: 0 / 1.063 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006165/1.271, allocations: 1.68 MB / 1.064 GB, free: 5.723 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002157/1.273, allocations: 0.8032 MB / 1.065 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.286, allocations: 3.787 MB / 1.069 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/1.286, allocations: 4.438 kB / 1.069 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00417/1.291, allocations: 1.103 MB / 1.07 GB, free: 72 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01049/1.301, allocations: 1.454 MB / 1.071 GB, free: 14.63 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.314, allocations: 6.254 MB / 1.078 GB, free: 8.277 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/1.315, allocations: 1.711 MB / 1.079 GB, free: 6.535 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003808/1.319, allocations: 0.6938 MB / 1.08 GB, free: 5.852 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007426/1.32, allocations: 243.3 kB / 1.08 GB, free: 5.617 MB / 0.795 GB Notification: Performance of SimCode: time 7.82e-07/1.32, allocations: 0 / 1.08 GB, free: 5.617 MB / 0.795 GB Notification: Performance of Templates: time 0.1284/1.448, allocations: 71.02 MB / 1.149 GB, free: 15.41 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: