Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.00111/0.00111, allocations: 101.9 kB / 16.37 MB, free: 6.473 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.001185/0.001185, allocations: 194.5 kB / 17.32 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.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.002689/0.002689, allocations: 75.89 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2061, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.3853/0.5914, allocations: 69.95 MB / 0.8531 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02163/0.6131, allocations: 14.41 MB / 0.8672 GB, free: 8.156 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.6161, allocations: 76.75 kB / 0.8672 GB, free: 8.125 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003001/0.6191, allocations: 0.9206 MB / 0.8681 GB, free: 7.555 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007953/0.6271, allocations: 2.539 MB / 0.8706 GB, free: 6.035 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005509/0.6326, allocations: 1.991 MB / 0.8726 GB, free: 4.93 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006569/0.6392, allocations: 4.675 MB / 0.8771 GB, free: 2.352 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.6417, allocations: 1.628 MB / 0.8787 GB, free: 1.332 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.6458, allocations: 1.801 MB / 0.8805 GB, free: 248 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.6483, allocations: 1.287 MB / 0.8817 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005557/0.6489, allocations: 199.8 kB / 0.8819 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005082/0.654, allocations: 1.985 MB / 0.8839 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006701/0.6547, allocations: 470.9 kB / 0.8843 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.6566, allocations: 1.031 MB / 0.8853 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005848/0.6624, allocations: 3.542 MB / 0.8888 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6624, allocations: 1.125 kB / 0.8888 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6624, allocations: 0 / 0.8888 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.007e-05/0.6625, allocations: 0 / 0.8888 GB, free: 10.94 MB / 0.6856 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.005488/0.668, allocations: 2.359 MB / 0.8911 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.6681, allocations: 8.844 kB / 0.8911 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00525/0.6733, allocations: 0.6607 MB / 0.8917 GB, free: 8.867 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/0.6765, allocations: 1.571 MB / 0.8933 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.6767, allocations: 133.5 kB / 0.8934 GB, free: 7.531 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.677, allocations: 125.7 kB / 0.8935 GB, free: 7.488 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004268/0.6813, allocations: 1.622 MB / 0.8951 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.6814, allocations: 5.062 kB / 0.8951 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.6815, allocations: 54.06 kB / 0.8952 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/0.6816, allocations: 31.97 kB / 0.8952 GB, free: 6.387 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004908/0.6865, allocations: 1.449 MB / 0.8966 GB, free: 5.645 MB / 0.6856 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.01106/0.6976, allocations: 6.945 MB / 0.9034 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/0.7, allocations: 0.7564 MB / 0.9041 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.7016, allocations: 491.3 kB / 0.9046 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001334/0.703, allocations: 1.267 MB / 0.9058 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002002/0.705, allocations: 0.6468 MB / 0.9065 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=69): time 3.006e-06/0.705, allocations: 0 / 0.9065 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69): time 0.01042/0.7154, allocations: 2.044 MB / 0.9085 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.7156, allocations: 324.9 kB / 0.9088 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.7177, allocations: 1.399 MB / 0.9101 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.7178, allocations: 45.7 kB / 0.9102 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005858/0.7184, allocations: 0.6881 MB / 0.9109 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.7186, allocations: 248.5 kB / 0.9111 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003999/0.719, allocations: 246.3 kB / 0.9113 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7192, allocations: 341.9 kB / 0.9117 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.7211, allocations: 0.5083 MB / 0.9122 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.7234, allocations: 0.8122 MB / 0.9129 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003779/0.7272, allocations: 1.161 MB / 0.9141 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.7272, allocations: 4 kB / 0.9141 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006479/0.7337, allocations: 1.63 MB / 0.9157 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.7337, allocations: 41.78 kB / 0.9157 GB, free: 3.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.7338, allocations: 8 kB / 0.9157 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/0.7351, allocations: 354.1 kB / 0.9161 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/0.7366, allocations: 271.5 kB / 0.9163 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.7378, allocations: 0.892 MB / 0.9172 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.7402, allocations: 238.6 kB / 0.9174 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.7403, allocations: 55.95 kB / 0.9175 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002414/0.7427, allocations: 0.7946 MB / 0.9182 GB, free: 472 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00221/0.7449, allocations: 0.8129 MB / 0.919 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003741/0.7487, allocations: 1.152 MB / 0.9202 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/0.7487, allocations: 3.938 kB / 0.9202 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.006474/0.7552, allocations: 1.627 MB / 0.9218 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.7552, allocations: 37.64 kB / 0.9218 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.7552, allocations: 4 kB / 0.9218 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.7565, allocations: 368.5 kB / 0.9221 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.758, allocations: 263.5 kB / 0.9224 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.7591, allocations: 0.888 MB / 0.9233 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.7615, allocations: 203.2 kB / 0.9235 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.7617, allocations: 62.75 kB / 0.9235 GB, free: 10.8 MB / 0.7169 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.0003528/0.762, allocations: 240.9 kB / 0.9238 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.7624, allocations: 154.2 kB / 0.9239 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004157/0.7665, allocations: 1.215 MB / 0.9251 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00354/0.7701, allocations: 1.037 MB / 0.9261 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.7701, allocations: 4 kB / 0.9261 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009133/0.771, allocations: 347.1 kB / 0.9264 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002902/0.7713, allocations: 15.98 kB / 0.9264 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.7729, allocations: 111.9 kB / 0.9266 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.7731, allocations: 52.48 kB / 0.9266 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005812/0.7789, allocations: 1.644 MB / 0.9282 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00564/0.7846, allocations: 2.057 MB / 0.9302 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00165/0.7862, allocations: 472.1 kB / 0.9307 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001631/0.7879, allocations: 0.9814 MB / 0.9316 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of Backend: time 3.6e-07/0.7879, allocations: 0 / 0.9316 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007817/0.7957, allocations: 2.271 MB / 0.9338 GB, free: 128 kB / 0.7169 GB Notification: Performance of SimCode: time 0.006118/0.8018, allocations: 3.53 MB / 0.9373 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.06753/0.8694, allocations: 47.42 MB / 0.9836 GB, free: 13.7 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)