Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 391.2 MB / 407 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 201 kB / 499.1 MB, free: 4.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 107.7 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 54.42 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2399, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.04604/0.286, allocations: 69.47 MB / 1.286 GB, free: 47.51 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.3016, allocations: 14.57 MB / 1.3 GB, free: 32.91 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.304, allocations: 63.62 kB / 1.3 GB, free: 32.84 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.3058, allocations: 0.7615 MB / 1.301 GB, free: 32.08 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004922/0.3107, allocations: 2.341 MB / 1.303 GB, free: 29.73 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003709/0.3145, allocations: 1.784 MB / 1.305 GB, free: 27.96 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004915/0.3194, allocations: 5.929 MB / 1.311 GB, free: 22.01 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.3211, allocations: 1.334 MB / 1.312 GB, free: 20.65 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.324, allocations: 1.493 MB / 1.314 GB, free: 19.15 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001785/0.3259, allocations: 1.241 MB / 1.315 GB, free: 17.9 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002382/0.3261, allocations: 91.94 kB / 1.315 GB, free: 17.81 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00339/0.3295, allocations: 1.759 MB / 1.317 GB, free: 16.05 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.3298, allocations: 362.5 kB / 1.317 GB, free: 15.7 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000968/0.3308, allocations: 0.9096 MB / 1.318 GB, free: 14.78 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.3349, allocations: 3.428 MB / 1.321 GB, free: 11.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3349, allocations: 3.938 kB / 1.321 GB, free: 11.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3349, allocations: 0 / 1.321 GB, free: 11.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.3349, allocations: 0 / 1.321 GB, free: 11.34 MB / 0.823 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.00329/0.3382, allocations: 2.292 MB / 1.323 GB, free: 8.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3383, allocations: 15.98 kB / 1.323 GB, free: 8.965 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.3434, allocations: 0.697 MB / 1.324 GB, free: 8.266 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.3455, allocations: 1.557 MB / 1.326 GB, free: 6.652 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/0.3456, allocations: 128 kB / 1.326 GB, free: 6.52 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.3458, allocations: 124 kB / 1.326 GB, free: 6.398 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003134/0.3489, allocations: 1.636 MB / 1.327 GB, free: 4.672 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.349, allocations: 7.938 kB / 1.327 GB, free: 4.664 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.3491, allocations: 48 kB / 1.327 GB, free: 4.617 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.3491, allocations: 39.98 kB / 1.328 GB, free: 4.578 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004061/0.3532, allocations: 1.46 MB / 1.329 GB, free: 3.109 MB / 0.823 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.008965/0.3622, allocations: 6.992 MB / 1.336 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002124/0.3643, allocations: 0.7459 MB / 1.337 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.366, allocations: 495.2 kB / 1.337 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/0.3672, allocations: 1.271 MB / 1.338 GB, free: 8.996 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.3673, allocations: 39.12 kB / 1.338 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=68): time 3.056e-06/0.3673, allocations: 0 / 1.338 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68): time 0.01979/0.3871, allocations: 3.016 MB / 1.341 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.3872, allocations: 115.4 kB / 1.341 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.3894, allocations: 1.355 MB / 1.343 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.3895, allocations: 45.7 kB / 1.343 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006118/0.3901, allocations: 0.6917 MB / 1.343 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.3904, allocations: 240.5 kB / 1.344 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003641/0.3907, allocations: 234.3 kB / 1.344 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3909, allocations: 349.9 kB / 1.344 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/0.3928, allocations: 0.5044 MB / 1.345 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.3948, allocations: 0.7745 MB / 1.345 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003505/0.3983, allocations: 1.137 MB / 1.347 GB, free: 212 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3984, allocations: 0 / 1.347 GB, free: 212 kB / 0.8386 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004977/0.4033, allocations: 1.562 MB / 1.348 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.4034, allocations: 8 kB / 1.348 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.4034, allocations: 4 kB / 1.348 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.4051, allocations: 497.5 kB / 1.349 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.4065, allocations: 259.5 kB / 1.349 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.4081, allocations: 0.9983 MB / 1.35 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.4105, allocations: 258.7 kB / 1.35 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.4107, allocations: 55.94 kB / 1.35 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002457/0.4131, allocations: 0.7986 MB / 1.351 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002111/0.4153, allocations: 0.7745 MB / 1.352 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003509/0.4188, allocations: 1.125 MB / 1.353 GB, free: 9.652 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.781e-06/0.4188, allocations: 8 kB / 1.353 GB, free: 9.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.004985/0.4238, allocations: 1.558 MB / 1.354 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4238, allocations: 8 kB / 1.354 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4238, allocations: 4 kB / 1.354 GB, free: 8.062 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/0.4255, allocations: 498.9 kB / 1.355 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.4268, allocations: 255.6 kB / 1.355 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.4284, allocations: 0.9894 MB / 1.356 GB, free: 6.312 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/0.4306, allocations: 229.1 kB / 1.356 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.4308, allocations: 63.94 kB / 1.356 GB, free: 6.027 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003111/0.4311, allocations: 238.1 kB / 1.356 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.4314, allocations: 146.2 kB / 1.357 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/0.4356, allocations: 1.298 MB / 1.358 GB, free: 4.332 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.4356, allocations: 8 kB / 1.358 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4356, allocations: 0 / 1.358 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003557/0.4392, allocations: 1.108 MB / 1.359 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007081/0.4463, allocations: 3.061 MB / 1.362 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4463, allocations: 4 kB / 1.362 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/0.4472, allocations: 143.8 kB / 1.362 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.4488, allocations: 483.1 kB / 1.362 GB, free: 15.37 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.4489, allocations: 31.97 kB / 1.363 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.4504, allocations: 0.9831 MB / 1.363 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.4505, allocations: 11.94 kB / 1.363 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1203/0.5707, allocations: 24.49 MB / 1.387 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.5718, allocations: 355 kB / 1.388 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004332/0.5723, allocations: 20 kB / 1.388 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/0.5743, allocations: 143.8 kB / 1.388 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.5745, allocations: 56.25 kB / 1.388 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.5746, allocations: 47.94 kB / 1.388 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002159/0.5768, allocations: 0.9777 MB / 1.389 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5768, allocations: 3.938 kB / 1.389 GB, free: 3.484 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005628/0.5825, allocations: 1.471 MB / 1.39 GB, free: 2.012 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002421/0.5849, allocations: 0.6758 MB / 1.391 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007163/0.5921, allocations: 1.822 MB / 1.393 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.5922, allocations: 4 kB / 1.393 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/0.5942, allocations: 0.5062 MB / 1.393 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005094/0.5994, allocations: 0.7877 MB / 1.394 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/0.6082, allocations: 3.864 MB / 1.398 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.6097, allocations: 1.23 MB / 1.399 GB, free: 8.988 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002456/0.6121, allocations: 376.3 kB / 1.399 GB, free: 8.625 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005986/0.6128, allocations: 135.3 kB / 1.4 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of SimCode: time 1.123e-06/0.6128, allocations: 0 / 1.4 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of Templates: time 0.4787/1.091, allocations: 47.93 MB / 1.446 GB, free: 187.3 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)