Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001292/0.001292, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001458/0.001458, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 251.9 MB / 0.51 GB, free: 4.828 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005184, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5607, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06109/0.6218, allocations: 58.55 MB / 0.7851 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01973/0.6416, allocations: 12.46 MB / 0.7973 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/0.6445, allocations: 59.56 kB / 0.7974 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.6473, allocations: 0.7812 MB / 0.7981 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007696/0.655, allocations: 2.192 MB / 0.8003 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006235/0.6612, allocations: 1.908 MB / 0.8021 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005922/0.6672, allocations: 2.658 MB / 0.8047 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.6692, allocations: 1.153 MB / 0.8059 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.672, allocations: 1.273 MB / 0.8071 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.6733, allocations: 0.8166 MB / 0.8079 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.6735, allocations: 68 kB / 0.808 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003707/0.6773, allocations: 1.276 MB / 0.8092 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004105/0.6777, allocations: 302.8 kB / 0.8095 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.6783, allocations: 396.8 kB / 0.8099 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.6821, allocations: 2.498 MB / 0.8123 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6821, allocations: 0 / 0.8123 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.655e-06/0.6821, allocations: 4 kB / 0.8123 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.063e-05/0.6822, allocations: 0 / 0.8123 GB, free: 4.848 MB / 0.6231 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.0047/0.6869, allocations: 1.993 MB / 0.8143 GB, free: 2.781 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/0.687, allocations: 12.03 kB / 0.8143 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/0.6921, allocations: 0.6925 MB / 0.815 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00341/0.6955, allocations: 1.441 MB / 0.8164 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.6957, allocations: 132 kB / 0.8165 GB, free: 452 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.6959, allocations: 120 kB / 0.8166 GB, free: 332 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004077/0.7, allocations: 1.632 MB / 0.8182 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.7001, allocations: 3.938 kB / 0.8182 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.7002, allocations: 52 kB / 0.8183 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-05/0.7003, allocations: 36 kB / 0.8183 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004539/0.7048, allocations: 1.484 MB / 0.8197 GB, free: 13.02 MB / 0.6387 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.0104/0.7152, allocations: 7.012 MB / 0.8266 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.7175, allocations: 0.7906 MB / 0.8274 GB, free: 4.863 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.7188, allocations: 1.274 MB / 0.8286 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/0.7206, allocations: 0.6557 MB / 0.8292 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 2.755e-06/0.7207, allocations: 0 / 0.8292 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.00969/0.7304, allocations: 2.154 MB / 0.8313 GB, free: 448 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.7305, allocations: 325 kB / 0.8317 GB, free: 48 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.7326, allocations: 1.418 MB / 0.833 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.7328, allocations: 53.69 kB / 0.8331 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006485/0.7334, allocations: 0.6957 MB / 0.8338 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.7337, allocations: 236.7 kB / 0.834 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.861e-05/0.7338, allocations: 20 kB / 0.834 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7339, allocations: 341.9 kB / 0.8343 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.7358, allocations: 0.521 MB / 0.8348 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.738, allocations: 0.8364 MB / 0.8357 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.7399, allocations: 0.6021 MB / 0.8363 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.7399, allocations: 0 / 0.8363 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007205/0.7472, allocations: 1.829 MB / 0.838 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/0.7483, allocations: 2.522 MB / 0.8405 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.7483, allocations: 8 kB / 0.8405 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.7497, allocations: 351.6 kB / 0.8408 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.7512, allocations: 279.6 kB / 0.8411 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.7525, allocations: 0.9063 MB / 0.842 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/0.7551, allocations: 302.5 kB / 0.8423 GB, free: 4.797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.7553, allocations: 55.94 kB / 0.8423 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7553, allocations: 4 kB / 0.8423 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007497/0.7628, allocations: 1.676 MB / 0.844 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.7629, allocations: 4 kB / 0.844 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.7641, allocations: 356.5 kB / 0.8443 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.7657, allocations: 275.5 kB / 0.8446 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.7669, allocations: 0.9021 MB / 0.8455 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.7694, allocations: 274.6 kB / 0.8457 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.7696, allocations: 51.95 kB / 0.8458 GB, free: 1.184 MB / 0.6544 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0009334/0.7705, allocations: 460.6 kB / 0.8462 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.7709, allocations: 146.2 kB / 0.8464 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.775, allocations: 1.278 MB / 0.8476 GB, free: 15.29 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.775, allocations: 8 kB / 0.8476 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.775, allocations: 4 kB / 0.8476 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003347/0.7784, allocations: 1.084 MB / 0.8487 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007238/0.7856, allocations: 3.326 MB / 0.8519 GB, free: 10.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.7857, allocations: 8.062 kB / 0.8519 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/0.7866, allocations: 163.8 kB / 0.8521 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001212/0.7878, allocations: 342.8 kB / 0.8524 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.7879, allocations: 27.97 kB / 0.8524 GB, free: 10.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.789, allocations: 0.895 MB / 0.8533 GB, free: 9.258 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.789, allocations: 16.06 kB / 0.8533 GB, free: 9.242 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005759/0.7948, allocations: 2.246 MB / 0.8555 GB, free: 6.742 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009648/0.7958, allocations: 398.9 kB / 0.8559 GB, free: 6.332 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.796, allocations: 23.98 kB / 0.8559 GB, free: 6.309 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/0.7977, allocations: 163.5 kB / 0.8561 GB, free: 6.152 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.7978, allocations: 72.23 kB / 0.8562 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.517e-05/0.7979, allocations: 35.97 kB / 0.8562 GB, free: 6.043 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001626/0.7995, allocations: 1.013 MB / 0.8572 GB, free: 5.031 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7996, allocations: 4 kB / 0.8572 GB, free: 5.027 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002601/0.8022, allocations: 0.9514 MB / 0.8581 GB, free: 4.074 MB / 0.67 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/0.8034, allocations: 0.5998 MB / 0.8587 GB, free: 3.477 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006279/0.8097, allocations: 2.011 MB / 0.8607 GB, free: 1.445 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.8097, allocations: 0 / 0.8607 GB, free: 1.445 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/0.8116, allocations: 0.5682 MB / 0.8612 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003816/0.8154, allocations: 0.7935 MB / 0.862 GB, free: 100 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006157/0.8216, allocations: 3.142 MB / 0.8651 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008564/0.8225, allocations: 1.246 MB / 0.8663 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001856/0.8244, allocations: 376.5 kB / 0.8666 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.8247, allocations: 131.3 kB / 0.8668 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of SimCode: time 5.41e-07/0.8247, allocations: 0 / 0.8668 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.06046/0.8852, allocations: 36.94 MB / 0.9028 GB, free: 6.668 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: