Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.00157/0.00157, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.349/1.349, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 59.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8671/0.8686, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1467/1.015, allocations: 130.8 MB / 1.216 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03821/1.054, allocations: 25.1 MB / 1.241 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005979/1.06, allocations: 139.2 kB / 1.241 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005749/1.065, allocations: 1.797 MB / 1.243 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01573/1.081, allocations: 4.78 MB / 1.247 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01006/1.091, allocations: 3.521 MB / 1.251 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01263/1.104, allocations: 9.038 MB / 1.26 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005331/1.109, allocations: 3.211 MB / 1.263 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007884/1.117, allocations: 3.54 MB / 1.266 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/1.122, allocations: 2.478 MB / 1.269 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001173/1.123, allocations: 388 kB / 1.269 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007247/1.13, allocations: 2.886 MB / 1.272 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001335/1.131, allocations: 0.8838 MB / 1.273 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003746/1.135, allocations: 2.003 MB / 1.275 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/1.147, allocations: 6.371 MB / 1.281 GB, free: 8.766 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/1.147, allocations: 0 / 1.281 GB, free: 8.766 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.353e-06/1.147, allocations: 0 / 1.281 GB, free: 8.766 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001512/1.147, allocations: 0 / 1.281 GB, free: 8.766 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.008992/1.156, allocations: 4.095 MB / 1.285 GB, free: 4.566 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.156, allocations: 8.031 kB / 1.285 GB, free: 4.559 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/1.166, allocations: 1.287 MB / 1.286 GB, free: 3.266 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006624/1.173, allocations: 2.991 MB / 1.289 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004085/1.173, allocations: 260 kB / 1.289 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009759/1.174, allocations: 240 kB / 1.29 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009288/1.184, allocations: 3.156 MB / 1.293 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.697e-05/1.184, allocations: 3.938 kB / 1.293 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004669/1.184, allocations: 103.9 kB / 1.293 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.448e-05/1.184, allocations: 79.92 kB / 1.293 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009173/1.193, allocations: 2.753 MB / 1.296 GB, free: 9.398 MB / 1.029 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.02092/1.214, allocations: 13.55 MB / 1.309 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004377/1.219, allocations: 1.392 MB / 1.31 GB, free: 9.785 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00309/1.222, allocations: 0.8578 MB / 1.311 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/1.224, allocations: 1.781 MB / 1.313 GB, free: 6.754 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00369/1.227, allocations: 1.13 MB / 1.314 GB, free: 5.559 MB / 1.045 GB Notification: Performance of pre-optimization done (n=126): time 4.087e-06/1.227, allocations: 0 / 1.314 GB, free: 5.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=132): time 0.03436/1.262, allocations: 9.537 MB / 1.323 GB, free: 11.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000266/1.262, allocations: 0.5844 MB / 1.324 GB, free: 11.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004812/1.267, allocations: 2.64 MB / 1.326 GB, free: 8.477 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002518/1.267, allocations: 61.7 kB / 1.326 GB, free: 8.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/1.269, allocations: 1.339 MB / 1.328 GB, free: 7.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/1.269, allocations: 461.5 kB / 1.328 GB, free: 6.602 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009584/1.27, allocations: 470.8 kB / 1.329 GB, free: 6.133 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/1.27, allocations: 309.1 kB / 1.329 GB, free: 5.828 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003669/1.274, allocations: 0.9298 MB / 1.33 GB, free: 4.895 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004235/1.278, allocations: 1.522 MB / 1.331 GB, free: 3.129 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006967/1.285, allocations: 2.161 MB / 1.333 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/1.285, allocations: 4 kB / 1.333 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01177/1.297, allocations: 3.094 MB / 1.336 GB, free: 13.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/1.297, allocations: 43.72 kB / 1.336 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/1.297, allocations: 16.09 kB / 1.336 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/1.3, allocations: 0.9138 MB / 1.337 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/1.303, allocations: 459.2 kB / 1.338 GB, free: 12.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003083/1.306, allocations: 2.167 MB / 1.34 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004241/1.31, allocations: 283.6 kB / 1.34 GB, free: 9.746 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/1.31, allocations: 103.9 kB / 1.34 GB, free: 9.645 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004577/1.315, allocations: 1.433 MB / 1.342 GB, free: 8.207 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004139/1.319, allocations: 1.503 MB / 1.343 GB, free: 6.469 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006833/1.326, allocations: 2.134 MB / 1.345 GB, free: 4.16 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.157e-05/1.326, allocations: 7.938 kB / 1.345 GB, free: 4.152 MB / 1.076 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01169/1.338, allocations: 3.077 MB / 1.348 GB, free: 1.051 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/1.338, allocations: 37.7 kB / 1.348 GB, free: 1.008 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/1.338, allocations: 12 kB / 1.348 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002961/1.341, allocations: 0.9197 MB / 1.349 GB, free: 76 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/1.343, allocations: 455.2 kB / 1.35 GB, free: 15.63 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003211/1.347, allocations: 2.175 MB / 1.352 GB, free: 13.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/1.351, allocations: 292 kB / 1.352 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/1.351, allocations: 103.9 kB / 1.352 GB, free: 13.02 MB / 1.092 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 (170): * Single equations (assignments): 167 * 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,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005924/1.352, allocations: 295.8 kB / 1.352 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008641/1.353, allocations: 284.6 kB / 1.353 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007834/1.361, allocations: 2.239 MB / 1.355 GB, free: 10.18 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006536/1.367, allocations: 1.854 MB / 1.357 GB, free: 8.273 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.367, allocations: 8 kB / 1.357 GB, free: 8.266 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.369, allocations: 0.5677 MB / 1.357 GB, free: 7.676 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006618/1.369, allocations: 32.25 kB / 1.357 GB, free: 7.645 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003267/1.373, allocations: 215.6 kB / 1.357 GB, free: 7.434 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/1.373, allocations: 92.8 kB / 1.358 GB, free: 7.344 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01104/1.384, allocations: 3.051 MB / 1.361 GB, free: 4.273 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01061/1.395, allocations: 3.622 MB / 1.364 GB, free: 0.625 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002999/1.398, allocations: 0.8353 MB / 1.365 GB, free: 15.79 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.004438/1.402, allocations: 1.839 MB / 1.367 GB, free: 13.95 MB / 1.107 GB Notification: Performance of Backend: time 2.585e-06/1.402, allocations: 4 kB / 1.367 GB, free: 13.95 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01656/1.419, allocations: 3.953 MB / 1.371 GB, free: 9.992 MB / 1.107 GB Notification: Performance of SimCode: time 0.01383/1.433, allocations: 6.364 MB / 1.377 GB, free: 3.605 MB / 1.107 GB Notification: Performance of Templates: time 0.1379/1.571, allocations: 90.52 MB / 1.465 GB, free: 9.809 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)