Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001364/0.001364, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7447 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 70.8 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2975, allocations: 159.9 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1245/0.4221, allocations: 130 MB / 1.194 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.04823/0.4703, allocations: 25.23 MB / 1.219 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007967/0.4784, allocations: 131.2 kB / 1.219 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007671/0.4861, allocations: 1.414 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/0.5004, allocations: 4.156 MB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008527/0.5089, allocations: 3.198 MB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01333/0.5223, allocations: 11.37 MB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004844/0.5271, allocations: 2.603 MB / 1.241 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007099/0.5343, allocations: 2.839 MB / 1.244 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.5387, allocations: 2.427 MB / 1.247 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009527/0.5396, allocations: 172 kB / 1.247 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007251/0.5469, allocations: 2.518 MB / 1.249 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6372/1.184, allocations: 0.679 MB / 1.25 GB, free: 53.09 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00395/1.188, allocations: 1.772 MB / 1.252 GB, free: 53.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.2, allocations: 6.165 MB / 1.258 GB, free: 52.94 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.2, allocations: 0.9375 kB / 1.258 GB, free: 52.94 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/1.2, allocations: 0 / 1.258 GB, free: 52.94 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002324/1.2, allocations: 1.031 kB / 1.258 GB, free: 52.94 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.01041/1.211, allocations: 4.076 MB / 1.262 GB, free: 51.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/1.211, allocations: 11.28 kB / 1.262 GB, free: 51.17 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/1.223, allocations: 1.376 MB / 1.263 GB, free: 50.99 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006333/1.229, allocations: 2.938 MB / 1.266 GB, free: 50.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/1.229, allocations: 249.5 kB / 1.266 GB, free: 50.31 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000553/1.23, allocations: 244 kB / 1.266 GB, free: 50.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009634/1.239, allocations: 3.209 MB / 1.269 GB, free: 49.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/1.24, allocations: 9.359 kB / 1.269 GB, free: 49.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004128/1.24, allocations: 99.56 kB / 1.27 GB, free: 49.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/1.24, allocations: 70.02 kB / 1.27 GB, free: 49.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/1.251, allocations: 2.832 MB / 1.272 GB, free: 49.74 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.02279/1.274, allocations: 13.61 MB / 1.286 GB, free: 43.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004422/1.278, allocations: 1.468 MB / 1.287 GB, free: 43.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/1.282, allocations: 0.9128 MB / 1.288 GB, free: 43.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/1.283, allocations: 1.781 MB / 1.29 GB, free: 41.51 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003977/1.287, allocations: 1.189 MB / 1.291 GB, free: 41.31 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 3.847e-06/1.287, allocations: 336 / 1.291 GB, free: 41.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.0552/1.342, allocations: 11.66 MB / 1.302 GB, free: 37.49 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/1.342, allocations: 0.5786 MB / 1.303 GB, free: 36.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/1.347, allocations: 2.602 MB / 1.305 GB, free: 36.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003153/1.347, allocations: 68.42 kB / 1.305 GB, free: 36.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009637/1.348, allocations: 1.326 MB / 1.307 GB, free: 36.06 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/1.348, allocations: 461.2 kB / 1.307 GB, free: 35.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007435/1.349, allocations: 467.6 kB / 1.308 GB, free: 35.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.683e-05/1.349, allocations: 308.3 kB / 1.308 GB, free: 35.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003727/1.353, allocations: 0.984 MB / 1.309 GB, free: 35.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004011/1.357, allocations: 1.578 MB / 1.31 GB, free: 34.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007296/1.364, allocations: 2.248 MB / 1.313 GB, free: 34.22 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/1.364, allocations: 3.719 kB / 1.313 GB, free: 34.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0232/1.387, allocations: 4.152 MB / 1.317 GB, free: 33.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.692e-05/1.388, allocations: 37.52 kB / 1.317 GB, free: 33.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/1.388, allocations: 11.03 kB / 1.317 GB, free: 33.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/1.391, allocations: 1.17 MB / 1.318 GB, free: 33.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/1.394, allocations: 454 kB / 1.318 GB, free: 33.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/1.398, allocations: 2.379 MB / 1.321 GB, free: 32.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005308/1.403, allocations: 392.4 kB / 1.321 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/1.403, allocations: 104.7 kB / 1.321 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004988/1.408, allocations: 1.485 MB / 1.323 GB, free: 32.56 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004726/1.413, allocations: 1.564 MB / 1.324 GB, free: 31.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007183/1.42, allocations: 2.218 MB / 1.326 GB, free: 31.37 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.605e-05/1.42, allocations: 2.938 kB / 1.326 GB, free: 31.37 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02259/1.443, allocations: 4.132 MB / 1.33 GB, free: 31.02 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/1.443, allocations: 46.09 kB / 1.33 GB, free: 30.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/1.443, allocations: 9.812 kB / 1.33 GB, free: 30.99 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003628/1.446, allocations: 1.157 MB / 1.331 GB, free: 30.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/1.449, allocations: 452.2 kB / 1.332 GB, free: 30.92 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/1.453, allocations: 2.38 MB / 1.334 GB, free: 29.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005309/1.458, allocations: 399 kB / 1.335 GB, free: 29.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002757/1.458, allocations: 101.8 kB / 1.335 GB, free: 29.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (166): * Single equations (assignments): 163 * 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 {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0007359/1.459, allocations: 299.7 kB / 1.335 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009794/1.46, allocations: 286.5 kB / 1.335 GB, free: 29.47 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008245/1.468, allocations: 2.402 MB / 1.338 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.317e-05/1.468, allocations: 16.78 kB / 1.338 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.468, allocations: 0 / 1.338 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006888/1.475, allocations: 2.012 MB / 1.34 GB, free: 28.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02164/1.497, allocations: 7 MB / 1.346 GB, free: 24.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.497, allocations: 3.625 kB / 1.346 GB, free: 24.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.498, allocations: 276.7 kB / 1.347 GB, free: 24.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003101/1.502, allocations: 1.021 MB / 1.348 GB, free: 24.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.502, allocations: 55.5 kB / 1.348 GB, free: 24.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/1.505, allocations: 2.141 MB / 1.35 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.505, allocations: 10.88 kB / 1.35 GB, free: 22.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/1.518, allocations: 3.747 MB / 1.353 GB, free: 20.26 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/1.52, allocations: 0.5926 MB / 1.354 GB, free: 19.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009629/1.52, allocations: 36.59 kB / 1.354 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003724/1.524, allocations: 275.3 kB / 1.354 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.524, allocations: 114.4 kB / 1.354 GB, free: 19.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/1.525, allocations: 76.77 kB / 1.355 GB, free: 19.53 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003003/1.528, allocations: 1.835 MB / 1.356 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.528, allocations: 0 / 1.356 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005098/1.533, allocations: 1.475 MB / 1.358 GB, free: 18.34 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (82): * Single equations (assignments): 76 * 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), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002013/1.535, allocations: 0.804 MB / 1.359 GB, free: 17.99 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.547, allocations: 3.713 MB / 1.362 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/1.547, allocations: 5.5 kB / 1.362 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003586/1.551, allocations: 1.084 MB / 1.363 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007657/1.558, allocations: 1.484 MB / 1.365 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/1.569, allocations: 6.033 MB / 1.371 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009706/1.57, allocations: 1.716 MB / 1.372 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003259/1.573, allocations: 0.6585 MB / 1.373 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/1.574, allocations: 238.5 kB / 1.373 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/1.574, allocations: 0 / 1.373 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of Templates: time 0.1133/1.687, allocations: 73.14 MB / 1.445 GB, free: 12.13 MB / 1.076 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)