Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_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_latest_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.001373/0.001373, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.001441/0.001441, allocations: 192.3 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 63.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8209, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1212/0.9422, allocations: 130.9 MB / 1.336 GB, free: 10.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03436/0.9766, allocations: 25.09 MB / 1.361 GB, free: 1.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004971/0.9816, allocations: 139.2 kB / 1.361 GB, free: 1.023 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004895/0.9866, allocations: 1.731 MB / 1.363 GB, free: 15.28 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01465/1.001, allocations: 4.551 MB / 1.367 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008914/1.01, allocations: 3.504 MB / 1.37 GB, free: 7.238 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0133/1.024, allocations: 9.041 MB / 1.379 GB, free: 14.18 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006028/1.03, allocations: 3.195 MB / 1.382 GB, free: 10.92 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008532/1.038, allocations: 3.539 MB / 1.386 GB, free: 7.383 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004522/1.043, allocations: 2.484 MB / 1.388 GB, free: 4.891 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/1.044, allocations: 392 kB / 1.389 GB, free: 4.508 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007117/1.051, allocations: 2.89 MB / 1.391 GB, free: 1.613 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001464/1.053, allocations: 0.8838 MB / 1.392 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.00393/1.057, allocations: 1.999 MB / 1.394 GB, free: 14.71 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/1.067, allocations: 6.367 MB / 1.4 GB, free: 8.336 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/1.067, allocations: 0 / 1.4 GB, free: 8.336 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.222e-06/1.067, allocations: 0 / 1.4 GB, free: 8.336 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001569/1.068, allocations: 4 kB / 1.4 GB, free: 8.332 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.009608/1.077, allocations: 4.087 MB / 1.404 GB, free: 4.137 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/1.077, allocations: 8.031 kB / 1.404 GB, free: 4.129 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009673/1.087, allocations: 1.288 MB / 1.406 GB, free: 2.836 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00618/1.093, allocations: 2.984 MB / 1.409 GB, free: 15.77 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/1.093, allocations: 252 kB / 1.409 GB, free: 15.51 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006627/1.094, allocations: 236 kB / 1.409 GB, free: 15.28 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008602/1.103, allocations: 3.156 MB / 1.412 GB, free: 11.94 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/1.103, allocations: 3.938 kB / 1.412 GB, free: 11.93 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004427/1.103, allocations: 108 kB / 1.412 GB, free: 11.83 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.119e-05/1.103, allocations: 71.92 kB / 1.412 GB, free: 11.76 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008958/1.112, allocations: 2.756 MB / 1.415 GB, free: 8.984 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.02175/1.134, allocations: 13.55 MB / 1.428 GB, free: 10.77 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/1.138, allocations: 1.411 MB / 1.43 GB, free: 9.359 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002957/1.141, allocations: 0.8555 MB / 1.431 GB, free: 8.504 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/1.143, allocations: 1.777 MB / 1.432 GB, free: 6.34 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003567/1.147, allocations: 1.122 MB / 1.433 GB, free: 5.148 MB / 1.154 GB Notification: Performance of pre-optimization done (n=126): time 6.853e-06/1.147, allocations: 0 / 1.433 GB, free: 5.148 MB / 1.154 GB Notification: Performance of matching and sorting (n=132): time 0.03412/1.181, allocations: 9.54 MB / 1.443 GB, free: 11.45 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003917/1.182, allocations: 0.5805 MB / 1.443 GB, free: 10.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/1.186, allocations: 2.644 MB / 1.446 GB, free: 8.074 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003215/1.186, allocations: 65.7 kB / 1.446 GB, free: 8.004 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/1.188, allocations: 1.341 MB / 1.447 GB, free: 6.648 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/1.188, allocations: 469.3 kB / 1.448 GB, free: 6.184 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007382/1.189, allocations: 466.9 kB / 1.448 GB, free: 5.719 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.189, allocations: 305.1 kB / 1.448 GB, free: 5.418 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/1.193, allocations: 0.9308 MB / 1.449 GB, free: 4.484 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004193/1.197, allocations: 1.518 MB / 1.451 GB, free: 2.727 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007025/1.204, allocations: 2.172 MB / 1.453 GB, free: 388 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.726e-05/1.204, allocations: 4 kB / 1.453 GB, free: 384 kB / 1.17 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01191/1.216, allocations: 3.085 MB / 1.456 GB, free: 13.27 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/1.216, allocations: 37.7 kB / 1.456 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.497e-05/1.216, allocations: 12 kB / 1.456 GB, free: 13.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003212/1.219, allocations: 0.9272 MB / 1.457 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/1.222, allocations: 459.2 kB / 1.457 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/1.225, allocations: 2.171 MB / 1.459 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.229, allocations: 279.9 kB / 1.46 GB, free: 9.336 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003227/1.23, allocations: 107.9 kB / 1.46 GB, free: 9.23 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005263/1.235, allocations: 1.437 MB / 1.461 GB, free: 7.789 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004147/1.239, allocations: 1.507 MB / 1.463 GB, free: 6.043 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006835/1.246, allocations: 2.13 MB / 1.465 GB, free: 3.738 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-05/1.246, allocations: 4 kB / 1.465 GB, free: 3.734 MB / 1.186 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01207/1.258, allocations: 3.085 MB / 1.468 GB, free: 0.625 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/1.258, allocations: 37.7 kB / 1.468 GB, free: 0.582 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/1.258, allocations: 12 kB / 1.468 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/1.261, allocations: 0.9137 MB / 1.469 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/1.264, allocations: 455.2 kB / 1.469 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/1.267, allocations: 2.171 MB / 1.471 GB, free: 12.99 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004788/1.272, allocations: 295.9 kB / 1.472 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003989/1.272, allocations: 107.9 kB / 1.472 GB, free: 12.59 MB / 1.201 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.0009198/1.273, allocations: 303.8 kB / 1.472 GB, free: 12.29 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/1.275, allocations: 280.6 kB / 1.472 GB, free: 12.01 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008171/1.283, allocations: 2.228 MB / 1.474 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006267/1.289, allocations: 1.861 MB / 1.476 GB, free: 7.844 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.289, allocations: 4 kB / 1.476 GB, free: 7.84 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/1.291, allocations: 0.56 MB / 1.477 GB, free: 7.258 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008955/1.292, allocations: 35.98 kB / 1.477 GB, free: 7.223 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003399/1.295, allocations: 203.7 kB / 1.477 GB, free: 7.023 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/1.295, allocations: 100.7 kB / 1.477 GB, free: 6.922 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01089/1.306, allocations: 3.052 MB / 1.48 GB, free: 3.855 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01066/1.317, allocations: 3.622 MB / 1.484 GB, free: 220 kB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003094/1.32, allocations: 0.843 MB / 1.484 GB, free: 15.37 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0042/1.324, allocations: 1.831 MB / 1.486 GB, free: 13.54 MB / 1.217 GB Notification: Performance of Backend: time 8.81e-07/1.324, allocations: 0 / 1.486 GB, free: 13.54 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0166/1.341, allocations: 3.957 MB / 1.49 GB, free: 9.574 MB / 1.217 GB Notification: Performance of SimCode: time 0.01552/1.357, allocations: 6.38 MB / 1.496 GB, free: 3.18 MB / 1.217 GB Notification: Performance of Templates: time 0.8021/2.159, allocations: 92.34 MB / 1.586 GB, free: 334.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)