Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP|heaPum.com.y|heaPum.com.isOn",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP|heaPum.com.y|heaPum.com.isOn",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001384/0.001384, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.326/1.326, 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 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7286/0.7298, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07376/0.8036, allocations: 70 MB / 1.236 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02128/0.8249, allocations: 14.51 MB / 1.25 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002355/0.8273, allocations: 71.56 kB / 1.25 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.8301, allocations: 0.9512 MB / 1.251 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007249/0.8373, allocations: 2.677 MB / 1.253 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005167/0.8425, allocations: 2.008 MB / 1.255 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006329/0.8489, allocations: 4.732 MB / 1.26 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.8514, allocations: 1.633 MB / 1.262 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003856/0.8553, allocations: 1.831 MB / 1.263 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.8575, allocations: 1.284 MB / 1.265 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005075/0.858, allocations: 200 kB / 1.265 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00432/0.8623, allocations: 1.991 MB / 1.267 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006736/0.863, allocations: 470.5 kB / 1.267 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.8647, allocations: 1.034 MB / 1.268 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006026/0.8707, allocations: 3.535 MB / 1.272 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8708, allocations: 4 kB / 1.272 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8708, allocations: 0 / 1.272 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.557e-05/0.8709, allocations: 0 / 1.272 GB, free: 8.59 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005343/0.8762, allocations: 2.358 MB / 1.274 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.8763, allocations: 8.031 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005371/0.8816, allocations: 0.6465 MB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003306/0.885, allocations: 1.596 MB / 1.276 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.8852, allocations: 128 kB / 1.276 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/0.8855, allocations: 131.8 kB / 1.276 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004291/0.8898, allocations: 1.632 MB / 1.278 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.45e-05/0.8898, allocations: 3.938 kB / 1.278 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.89, allocations: 56 kB / 1.278 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.8901, allocations: 32 kB / 1.278 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00485/0.8949, allocations: 1.437 MB / 1.28 GB, free: 340 kB / 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.01104/0.906, allocations: 6.95 MB / 1.286 GB, free: 9.039 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002478/0.9085, allocations: 0.7514 MB / 1.287 GB, free: 8.277 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.9102, allocations: 490.2 kB / 1.288 GB, free: 7.797 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.9116, allocations: 1.278 MB / 1.289 GB, free: 6.242 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002022/0.9136, allocations: 0.6401 MB / 1.289 GB, free: 5.562 MB / 1.014 GB Notification: Performance of pre-optimization done (n=69): time 3.416e-06/0.9137, allocations: 0 / 1.289 GB, free: 5.562 MB / 1.014 GB Notification: Performance of matching and sorting (n=69): time 0.01057/0.9242, allocations: 2.041 MB / 1.291 GB, free: 3.492 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.9244, allocations: 328.9 kB / 1.292 GB, free: 3.098 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/0.9269, allocations: 1.403 MB / 1.293 GB, free: 1.684 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.9271, allocations: 45.7 kB / 1.293 GB, free: 1.633 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/0.9278, allocations: 0.6997 MB / 1.294 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.9281, allocations: 244.6 kB / 1.294 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004752/0.9286, allocations: 246.3 kB / 1.294 GB, free: 448 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9287, allocations: 341.9 kB / 1.295 GB, free: 100 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002044/0.9307, allocations: 0.5083 MB / 1.295 GB, free: 15.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.933, allocations: 0.8022 MB / 1.296 GB, free: 14.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/0.9369, allocations: 1.166 MB / 1.297 GB, free: 13.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.9369, allocations: 0 / 1.297 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006749/0.9437, allocations: 1.642 MB / 1.299 GB, free: 11.75 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.9437, allocations: 33.7 kB / 1.299 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.9437, allocations: 4 kB / 1.299 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.9451, allocations: 361 kB / 1.299 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.9466, allocations: 267.5 kB / 1.299 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.9479, allocations: 0.8954 MB / 1.3 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.9503, allocations: 230.5 kB / 1.3 GB, free: 9.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.9505, allocations: 63.88 kB / 1.3 GB, free: 9.887 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002575/0.9531, allocations: 0.7986 MB / 1.301 GB, free: 9.082 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002264/0.9554, allocations: 0.8022 MB / 1.302 GB, free: 8.156 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003738/0.9591, allocations: 1.154 MB / 1.303 GB, free: 6.906 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.069e-06/0.9591, allocations: 0 / 1.303 GB, free: 6.906 MB / 1.029 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.006765/0.9659, allocations: 1.622 MB / 1.305 GB, free: 5.266 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/0.966, allocations: 42.19 kB / 1.305 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.966, allocations: 11.94 kB / 1.305 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.9673, allocations: 370.6 kB / 1.305 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.9689, allocations: 263.5 kB / 1.305 GB, free: 4.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.9702, allocations: 0.888 MB / 1.306 GB, free: 3.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.9726, allocations: 203.4 kB / 1.306 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.9728, allocations: 59.94 kB / 1.306 GB, free: 3.418 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003865/0.9732, allocations: 248 kB / 1.307 GB, free: 3.168 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.9736, allocations: 150.2 kB / 1.307 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/0.978, allocations: 1.214 MB / 1.308 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003499/0.9816, allocations: 1.029 MB / 1.309 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.9816, allocations: 4 kB / 1.309 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008325/0.9824, allocations: 351 kB / 1.309 GB, free: 376 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/0.9828, allocations: 16 kB / 1.309 GB, free: 360 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.9845, allocations: 115.8 kB / 1.31 GB, free: 244 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.9847, allocations: 56.48 kB / 1.31 GB, free: 188 kB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00582/0.9905, allocations: 1.642 MB / 1.311 GB, free: 14.53 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00575/0.9963, allocations: 2.049 MB / 1.313 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001685/0.998, allocations: 476.2 kB / 1.314 GB, free: 12 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001863/0.9999, allocations: 0.9818 MB / 1.315 GB, free: 11.02 MB / 1.045 GB Notification: Performance of Backend: time 5.61e-07/0.9999, allocations: 0 / 1.315 GB, free: 11.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.008199/1.008, allocations: 2.281 MB / 1.317 GB, free: 8.723 MB / 1.045 GB Notification: Performance of SimCode: time 0.006879/1.015, allocations: 3.507 MB / 1.32 GB, free: 5.176 MB / 1.045 GB Notification: Performance of Templates: time 0.07417/1.089, allocations: 47.46 MB / 1.367 GB, free: 6.047 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)