Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001338/0.001338, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.001459, allocations: 177.6 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6491/0.6491, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002883/0.0002884, allocations: 8 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.3448/0.475, allocations: 109.3 MB / 0.6636 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03218/0.5073, allocations: 21.41 MB / 0.6845 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004218/0.5115, allocations: 115.2 kB / 0.6846 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004547/0.5161, allocations: 1.457 MB / 0.686 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.5283, allocations: 4.197 MB / 0.6901 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008721/0.5371, allocations: 3.132 MB / 0.6932 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009951/0.547, allocations: 5.133 MB / 0.6982 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003805/0.5509, allocations: 2.305 MB / 0.7005 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005406/0.5563, allocations: 2.433 MB / 0.7028 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00283/0.5591, allocations: 1.59 MB / 0.7044 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005268/0.5597, allocations: 132 kB / 0.7045 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004972/0.5647, allocations: 1.736 MB / 0.7062 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008042/0.5655, allocations: 0.5758 MB / 0.7068 GB, free: 244 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.5667, allocations: 0.7344 MB / 0.7075 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006095/0.5728, allocations: 4.577 MB / 0.712 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5728, allocations: 4 kB / 0.712 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.235e-06/0.5729, allocations: 0 / 0.712 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.843e-05/0.5729, allocations: 0 / 0.712 GB, free: 10.91 MB / 0.5294 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.006488/0.5794, allocations: 3.375 MB / 0.7153 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.5795, allocations: 8.031 kB / 0.7153 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009863/0.5894, allocations: 1.369 MB / 0.7166 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005237/0.5946, allocations: 2.713 MB / 0.7193 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002683/0.5949, allocations: 263.9 kB / 0.7195 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004175/0.5953, allocations: 228 kB / 0.7197 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007426/0.6028, allocations: 3.183 MB / 0.7228 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.788e-05/0.6029, allocations: 15.86 kB / 0.7228 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002889/0.6032, allocations: 96 kB / 0.7229 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.73e-05/0.6033, allocations: 68 kB / 0.723 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009075/0.6123, allocations: 2.815 MB / 0.7257 GB, free: 12.38 MB / 0.545 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.02055/0.6329, allocations: 13.67 MB / 0.7391 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/0.6371, allocations: 1.45 MB / 0.7405 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001798/0.639, allocations: 1.781 MB / 0.7423 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003536/0.6425, allocations: 1.154 MB / 0.7434 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 3.737e-06/0.6425, allocations: 0 / 0.7434 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130): time 0.03186/0.6744, allocations: 9.72 MB / 0.7529 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/0.6747, allocations: 0.5766 MB / 0.7534 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00398/0.6786, allocations: 2.69 MB / 0.7561 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.679, allocations: 69.7 kB / 0.7561 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.6801, allocations: 1.354 MB / 0.7575 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004739/0.6806, allocations: 445.6 kB / 0.7579 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.6807, allocations: 36 kB / 0.7579 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6809, allocations: 373.9 kB / 0.7583 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003436/0.6843, allocations: 0.9446 MB / 0.7592 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003856/0.6882, allocations: 1.531 MB / 0.7607 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.6917, allocations: 1.097 MB / 0.7618 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.6918, allocations: 4 kB / 0.7618 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.009747/0.7015, allocations: 3.101 MB / 0.7648 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001652/0.7032, allocations: 5.24 MB / 0.7699 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.7032, allocations: 12 kB / 0.7699 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/0.7063, allocations: 0.9297 MB / 0.7708 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.7088, allocations: 479.2 kB / 0.7713 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.7117, allocations: 2.193 MB / 0.7734 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004401/0.7161, allocations: 391.3 kB / 0.7738 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.7164, allocations: 111.9 kB / 0.7739 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7164, allocations: 4 kB / 0.7739 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00935/0.7257, allocations: 2.802 MB / 0.7766 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.7258, allocations: 15.95 kB / 0.7767 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/0.7287, allocations: 0.9271 MB / 0.7776 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/0.7313, allocations: 475.2 kB / 0.778 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002944/0.7343, allocations: 2.195 MB / 0.7802 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/0.7383, allocations: 361.5 kB / 0.7805 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/0.7385, allocations: 103.9 kB / 0.7806 GB, free: 1.957 MB / 0.5919 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.00131/0.7399, allocations: 0.7043 MB / 0.7813 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005163/0.7404, allocations: 284.5 kB / 0.7816 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008188/0.7486, allocations: 2.37 MB / 0.7839 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/0.7486, allocations: 16 kB / 0.7839 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.7486, allocations: 4 kB / 0.7839 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007064/0.7557, allocations: 1.99 MB / 0.7858 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.7696, allocations: 6.245 MB / 0.7919 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.7696, allocations: 4 kB / 0.7919 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/0.7713, allocations: 292.2 kB / 0.7922 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.7739, allocations: 0.7854 MB / 0.793 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001296/0.7741, allocations: 51.95 kB / 0.793 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.7765, allocations: 1.964 MB / 0.795 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.637e-06/0.7765, allocations: 12.19 kB / 0.795 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/0.7884, allocations: 4.339 MB / 0.7992 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/0.7901, allocations: 0.6729 MB / 0.7999 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007074/0.7909, allocations: 43.98 kB / 0.7999 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003253/0.7941, allocations: 287 kB / 0.8002 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002012/0.7943, allocations: 120.7 kB / 0.8003 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.7945, allocations: 71.86 kB / 0.8004 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003175/0.7977, allocations: 1.898 MB / 0.8022 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7977, allocations: 0 / 0.8022 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004435/0.8021, allocations: 1.5 MB / 0.8037 GB, free: 9.578 MB / 0.6231 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.001518/0.8037, allocations: 0.8232 MB / 0.8045 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01127/0.8149, allocations: 3.65 MB / 0.808 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.815, allocations: 4.438 kB / 0.8081 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003394/0.8184, allocations: 1.059 MB / 0.8091 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006645/0.825, allocations: 1.481 MB / 0.8105 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01222/0.8373, allocations: 5.992 MB / 0.8164 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.8388, allocations: 1.779 MB / 0.8181 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003418/0.8422, allocations: 0.6559 MB / 0.8188 GB, free: 10 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/0.8428, allocations: 235.2 kB / 0.819 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.8429, allocations: 0 / 0.819 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of Templates: time 0.3216/1.164, allocations: 70.15 MB / 0.8875 GB, free: 189.4 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)