Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009548, allocations: 100.5 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.001044/0.001043, 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 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9478/0.9478, allocations: 143.3 MB / 434.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002884, allocations: 8 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1476, allocations: 83.41 MB / 0.5973 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.3294/0.4771, allocations: 109.3 MB / 0.7041 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03164/0.5088, allocations: 21.47 MB / 0.725 GB, free: 4.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004263/0.5131, allocations: 112.4 kB / 0.7251 GB, free: 4.793 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004645/0.5178, allocations: 1.461 MB / 0.7265 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01279/0.5306, allocations: 4.193 MB / 0.7306 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.5406, allocations: 3.133 MB / 0.7337 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009716/0.5503, allocations: 5.135 MB / 0.7387 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/0.5536, allocations: 2.299 MB / 0.741 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004711/0.5583, allocations: 2.437 MB / 0.7433 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.5605, allocations: 1.587 MB / 0.7449 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003637/0.5609, allocations: 132 kB / 0.745 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00458/0.5655, allocations: 1.74 MB / 0.7467 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005825/0.5661, allocations: 0.5719 MB / 0.7473 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008244/0.5669, allocations: 0.7421 MB / 0.748 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.572, allocations: 4.88 MB / 0.7528 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.572, allocations: 0 / 0.7528 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.572, allocations: 0 / 0.7528 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.829e-05/0.5721, allocations: 0 / 0.7528 GB, free: 12.92 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: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.005886/0.578, allocations: 3.389 MB / 0.7561 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.578, allocations: 8.031 kB / 0.7561 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009521/0.5876, allocations: 1.366 MB / 0.7574 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004832/0.5924, allocations: 2.733 MB / 0.7601 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.5927, allocations: 260 kB / 0.7603 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/0.593, allocations: 239.9 kB / 0.7606 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006899/0.6, allocations: 3.16 MB / 0.7636 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.889e-05/0.6, allocations: 11.92 kB / 0.7637 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/0.6003, allocations: 104 kB / 0.7638 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/0.6004, allocations: 64 kB / 0.7638 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008555/0.6089, allocations: 2.811 MB / 0.7666 GB, free: 14.39 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.01923/0.6282, allocations: 13.72 MB / 0.78 GB, free: 24 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/0.6324, allocations: 1.438 MB / 0.7814 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/0.6342, allocations: 1.777 MB / 0.7831 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003403/0.6376, allocations: 1.162 MB / 0.7842 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=126): time 3.146e-06/0.6376, allocations: 0 / 0.7842 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130): time 0.03126/0.6689, allocations: 9.716 MB / 0.7937 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002452/0.6691, allocations: 0.5805 MB / 0.7943 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/0.6733, allocations: 2.694 MB / 0.7969 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002919/0.6736, allocations: 61.7 kB / 0.797 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.6748, allocations: 1.354 MB / 0.7983 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004844/0.6753, allocations: 457.5 kB / 0.7987 GB, free: 12 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.6754, allocations: 40 kB / 0.7988 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6756, allocations: 373.9 kB / 0.7991 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/0.6792, allocations: 0.9446 MB / 0.8001 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004032/0.6833, allocations: 1.531 MB / 0.8016 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003724/0.687, allocations: 1.093 MB / 0.8026 GB, free: 7.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.687, allocations: 4 kB / 0.8026 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01032/0.6973, allocations: 3.09 MB / 0.8056 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001832/0.6992, allocations: 5.239 MB / 0.8108 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.6992, allocations: 20 kB / 0.8108 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003058/0.7023, allocations: 0.9237 MB / 0.8117 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/0.705, allocations: 483.2 kB / 0.8121 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.708, allocations: 2.2 MB / 0.8143 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004494/0.7125, allocations: 399.2 kB / 0.8147 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.7127, allocations: 107.9 kB / 0.8148 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.7127, allocations: 8 kB / 0.8148 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009494/0.7222, allocations: 2.811 MB / 0.8175 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.7223, allocations: 12 kB / 0.8175 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002922/0.7252, allocations: 0.9336 MB / 0.8184 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00251/0.7277, allocations: 475.2 kB / 0.8189 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.7307, allocations: 2.187 MB / 0.821 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003995/0.7347, allocations: 366.8 kB / 0.8214 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.7349, allocations: 99.91 kB / 0.8215 GB, free: 3.922 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (168): * Single equations (assignments): 165 * 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001292/0.7362, allocations: 0.6974 MB / 0.8222 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.7367, allocations: 284.6 kB / 0.8224 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008357/0.745, allocations: 2.372 MB / 0.8247 GB, free: 0.5508 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.7451, allocations: 12 kB / 0.8248 GB, free: 0.5391 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.7451, allocations: 4 kB / 0.8248 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007227/0.7523, allocations: 1.99 MB / 0.8267 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.7665, allocations: 6.257 MB / 0.8328 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.7666, allocations: 11.94 kB / 0.8328 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/0.7683, allocations: 292 kB / 0.8331 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/0.771, allocations: 0.7884 MB / 0.8339 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.7711, allocations: 51.94 kB / 0.8339 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002518/0.7737, allocations: 1.961 MB / 0.8358 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.7737, allocations: 8 kB / 0.8359 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.7862, allocations: 4.336 MB / 0.8401 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/0.7879, allocations: 0.6965 MB / 0.8408 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000486/0.7884, allocations: 36 kB / 0.8408 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003381/0.7918, allocations: 284.6 kB / 0.8411 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.7921, allocations: 116.5 kB / 0.8412 GB, free: 15.01 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.7923, allocations: 75.92 kB / 0.8413 GB, free: 14.94 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003385/0.7957, allocations: 1.895 MB / 0.8431 GB, free: 13.04 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7957, allocations: 0 / 0.8431 GB, free: 13.04 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004618/0.8003, allocations: 1.496 MB / 0.8446 GB, free: 11.55 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (84): * Single equations (assignments): 78 * 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,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.001604/0.8019, allocations: 0.8367 MB / 0.8454 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01153/0.8135, allocations: 3.657 MB / 0.849 GB, free: 7.043 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.8135, allocations: 448 / 0.849 GB, free: 7.043 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003522/0.817, allocations: 1.055 MB / 0.85 GB, free: 5.984 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006589/0.8236, allocations: 1.479 MB / 0.8514 GB, free: 4.531 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2531/1.077, allocations: 6.003 MB / 0.8573 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.078, allocations: 1.772 MB / 0.859 GB, free: 198.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003387/1.081, allocations: 0.6566 MB / 0.8597 GB, free: 198.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/1.082, allocations: 236.5 kB / 0.8599 GB, free: 198.5 MB / 0.67 GB Notification: Performance of SimCode: time 8.21e-07/1.082, allocations: 0 / 0.8599 GB, free: 198.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1/1.182, allocations: 70.89 MB / 0.9291 GB, free: 173.6 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: