Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 99.94 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.001409/0.001409, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9551/0.9551, allocations: 143.3 MB / 434.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002957, allocations: 12 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 83.4 MB / 0.5973 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.3465/0.4919, allocations: 109.4 MB / 0.7041 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03314/0.5251, allocations: 21.46 MB / 0.725 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004964/0.5301, allocations: 116.4 kB / 0.7251 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.005618/0.5357, allocations: 1.46 MB / 0.7266 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01532/0.5511, allocations: 4.194 MB / 0.7307 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01078/0.5619, allocations: 3.136 MB / 0.7337 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.011/0.5729, allocations: 5.097 MB / 0.7387 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003986/0.5769, allocations: 2.276 MB / 0.7409 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006108/0.5831, allocations: 2.429 MB / 0.7433 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/0.5866, allocations: 1.575 MB / 0.7448 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007862/0.5874, allocations: 128 kB / 0.745 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006276/0.5937, allocations: 1.736 MB / 0.7467 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009091/0.5946, allocations: 0.5719 MB / 0.7472 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.596, allocations: 0.7304 MB / 0.7479 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006829/0.6028, allocations: 4.868 MB / 0.7527 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6029, allocations: 0 / 0.7527 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6029, allocations: 0 / 0.7527 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001122/0.603, allocations: 0 / 0.7527 GB, free: 12.99 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.006197/0.6092, allocations: 3.36 MB / 0.756 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.6092, allocations: 8.031 kB / 0.756 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009865/0.6191, allocations: 1.373 MB / 0.7573 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00695/0.6261, allocations: 2.721 MB / 0.76 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.6264, allocations: 247.9 kB / 0.7602 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005094/0.627, allocations: 240 kB / 0.7604 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007295/0.6343, allocations: 3.134 MB / 0.7635 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/0.6344, allocations: 11.84 kB / 0.7635 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002854/0.6346, allocations: 104 kB / 0.7636 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.39e-05/0.6347, allocations: 67.98 kB / 0.7637 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008742/0.6435, allocations: 2.768 MB / 0.7664 GB, free: 14.57 MB / 0.5919 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.02011/0.6636, allocations: 13.4 MB / 0.7795 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.6677, allocations: 1.416 MB / 0.7808 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001746/0.6694, allocations: 1.785 MB / 0.7826 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003363/0.6728, allocations: 1.161 MB / 0.7837 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=126): time 3.597e-06/0.6728, allocations: 0 / 0.7837 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126): time 0.02144/0.6943, allocations: 4.243 MB / 0.7879 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002841/0.6946, allocations: 0.5843 MB / 0.7884 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/0.6994, allocations: 2.583 MB / 0.791 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003171/0.6997, allocations: 65.7 kB / 0.791 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.7009, allocations: 1.345 MB / 0.7923 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004993/0.7014, allocations: 437.8 kB / 0.7927 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.7016, allocations: 32 kB / 0.7928 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.7017, allocations: 377.9 kB / 0.7931 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/0.7053, allocations: 0.9603 MB / 0.7941 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003998/0.7093, allocations: 1.549 MB / 0.7956 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003855/0.7131, allocations: 1.097 MB / 0.7967 GB, free: 14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.7132, allocations: 4 kB / 0.7967 GB, free: 14 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01235/0.7255, allocations: 3.109 MB / 0.7997 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001843/0.7274, allocations: 5.016 MB / 0.8046 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.7274, allocations: 12 kB / 0.8046 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.7301, allocations: 0.7284 MB / 0.8053 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/0.7331, allocations: 0.5147 MB / 0.8058 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.7355, allocations: 1.796 MB / 0.8076 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/0.7403, allocations: 0.51 MB / 0.8081 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000392/0.7407, allocations: 103.9 kB / 0.8082 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7407, allocations: 7.938 kB / 0.8082 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01171/0.7524, allocations: 2.84 MB / 0.811 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.618e-05/0.7525, allocations: 12 kB / 0.811 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/0.7551, allocations: 0.7272 MB / 0.8117 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/0.758, allocations: 0.4992 MB / 0.8122 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.7603, allocations: 1.802 MB / 0.8139 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004359/0.7647, allocations: 455.4 kB / 0.8144 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/0.7651, allocations: 103.9 kB / 0.8145 GB, free: 11.22 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001665/0.7668, allocations: 0.6881 MB / 0.8151 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007628/0.7676, allocations: 272.8 kB / 0.8154 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.7791, allocations: 2.604 MB / 0.8179 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/0.7792, allocations: 12 kB / 0.8179 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.7792, allocations: 4 kB / 0.8179 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01033/0.7895, allocations: 2.218 MB / 0.8201 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.8064, allocations: 6.551 MB / 0.8265 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/0.8064, allocations: 4 kB / 0.8265 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/0.8083, allocations: 299.8 kB / 0.8268 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00253/0.8109, allocations: 0.7152 MB / 0.8275 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.8111, allocations: 55.88 kB / 0.8276 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.8134, allocations: 1.794 MB / 0.8293 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/0.8134, allocations: 11.94 kB / 0.8293 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/0.8255, allocations: 4.297 MB / 0.8335 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/0.8275, allocations: 0.6886 MB / 0.8342 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000835/0.8283, allocations: 43.94 kB / 0.8342 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003568/0.8319, allocations: 285.2 kB / 0.8345 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002321/0.8322, allocations: 116.7 kB / 0.8346 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.8324, allocations: 67.92 kB / 0.8347 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003526/0.8359, allocations: 1.821 MB / 0.8365 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8359, allocations: 0 / 0.8365 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0063/0.8422, allocations: 1.688 MB / 0.8381 GB, free: 2.223 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002173/0.8444, allocations: 0.8365 MB / 0.8389 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01244/0.8569, allocations: 3.582 MB / 0.8424 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/0.8569, allocations: 4.438 kB / 0.8424 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003689/0.8606, allocations: 1.047 MB / 0.8434 GB, free: 12.75 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007447/0.8681, allocations: 1.375 MB / 0.8448 GB, free: 11.39 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.8829, allocations: 6.104 MB / 0.8507 GB, free: 5.168 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001657/0.8846, allocations: 1.773 MB / 0.8525 GB, free: 3.359 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003784/0.8884, allocations: 0.6964 MB / 0.8532 GB, free: 2.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007108/0.8891, allocations: 243.2 kB / 0.8534 GB, free: 2.441 MB / 0.67 GB Notification: Performance of SimCode: time 6.62e-07/0.8891, allocations: 0 / 0.8534 GB, free: 2.441 MB / 0.67 GB Notification: Performance of Templates: time 0.3391/1.228, allocations: 66.39 MB / 0.9182 GB, free: 178.9 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: