Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007945/0.007945, allocations: 168.9 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9515/0.9515, allocations: 132.3 MB / 148.1 MB, free: 224 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 223.2 MB / 403.2 MB, free: 6.758 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001253, allocations: 92 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004703, allocations: 8 kB / 0.5641 GB, free: 2.121 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5283/0.5288, allocations: 81.58 MB / 0.6437 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8681/1.397, allocations: 398.2 MB / 1.033 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.397, allocations: 97.09 kB / 1.033 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.095/5.493, allocations: 1.066 GB / 2.099 GB, free: 2.465 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.083e-06/5.493, allocations: 0 / 2.099 GB, free: 2.465 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002947/5.493, allocations: 83.91 kB / 2.099 GB, free: 2.383 MB / 0.698 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.01188/5.505, allocations: 3.714 MB / 2.103 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/5.505, allocations: 8.031 kB / 2.103 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/5.515, allocations: 1.213 MB / 2.104 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009532/5.525, allocations: 3.338 MB / 2.107 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003441/5.525, allocations: 255.9 kB / 2.107 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006621/5.526, allocations: 224 kB / 2.108 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008814/5.534, allocations: 3.175 MB / 2.111 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.364e-05/5.535, allocations: 11.88 kB / 2.111 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003562/5.535, allocations: 115.9 kB / 2.111 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/5.535, allocations: 92.27 kB / 2.111 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/5.545, allocations: 2.807 MB / 2.114 GB, free: 3.031 MB / 0.7136 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.544/6.089, allocations: 13.34 MB / 2.127 GB, free: 53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/6.094, allocations: 1.528 MB / 2.128 GB, free: 52.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/6.095, allocations: 1.787 MB / 2.13 GB, free: 50.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003601/6.099, allocations: 1.194 MB / 2.131 GB, free: 50.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.436e-06/6.099, allocations: 1 kB / 2.131 GB, free: 50.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=122): time 0.03861/6.137, allocations: 13.32 MB / 2.144 GB, free: 44.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002502/6.138, allocations: 0.942 MB / 2.145 GB, free: 43.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/6.142, allocations: 2.424 MB / 2.147 GB, free: 43.02 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005082/6.143, allocations: 61.02 kB / 2.148 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001318/6.144, allocations: 1.378 MB / 2.149 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/6.144, allocations: 419.9 kB / 2.149 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/6.145, allocations: 33.06 kB / 2.149 GB, free: 42.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/6.145, allocations: 366.4 kB / 2.15 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003644/6.148, allocations: 0.9298 MB / 2.151 GB, free: 42.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004428/6.153, allocations: 1.557 MB / 2.152 GB, free: 41.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003935/6.157, allocations: 1.07 MB / 2.153 GB, free: 41.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/6.157, allocations: 0 / 2.153 GB, free: 41.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.009742/6.167, allocations: 2.989 MB / 2.156 GB, free: 41.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001112/6.168, allocations: 5.263 MB / 2.161 GB, free: 35.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/6.168, allocations: 13.31 kB / 2.161 GB, free: 35.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002953/6.171, allocations: 0.9184 MB / 2.162 GB, free: 35.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/6.174, allocations: 456.7 kB / 2.163 GB, free: 35.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003028/6.177, allocations: 2.198 MB / 2.165 GB, free: 34.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005714/6.182, allocations: 414.4 kB / 2.165 GB, free: 34.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/6.183, allocations: 107.4 kB / 2.165 GB, free: 34.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/6.183, allocations: 5.094 kB / 2.165 GB, free: 34.54 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008386/6.191, allocations: 2.65 MB / 2.168 GB, free: 34.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/6.191, allocations: 11.31 kB / 2.168 GB, free: 34.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/6.194, allocations: 0.9262 MB / 2.169 GB, free: 34.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/6.197, allocations: 440.9 kB / 2.169 GB, free: 34.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00263/6.199, allocations: 2.177 MB / 2.171 GB, free: 33.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/6.204, allocations: 355.6 kB / 2.172 GB, free: 33.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/6.205, allocations: 107.5 kB / 2.172 GB, free: 33.37 MB / 0.7136 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,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.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 (152): * Single equations (assignments): 149 * 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.001961/6.207, allocations: 0.6977 MB / 2.172 GB, free: 33.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008512/6.208, allocations: 284.8 kB / 2.173 GB, free: 33.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009279/6.217, allocations: 2.348 MB / 2.175 GB, free: 32.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/6.217, allocations: 15.06 kB / 2.175 GB, free: 32.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/6.217, allocations: 6.562 kB / 2.175 GB, free: 32.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008339/6.225, allocations: 2.126 MB / 2.177 GB, free: 32.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/6.241, allocations: 6.771 MB / 2.184 GB, free: 30.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/6.241, allocations: 12.95 kB / 2.184 GB, free: 30.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/6.243, allocations: 286.6 kB / 2.184 GB, free: 30.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/6.245, allocations: 0.7868 MB / 2.185 GB, free: 30.66 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/6.245, allocations: 54.06 kB / 2.185 GB, free: 30.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/6.247, allocations: 1.961 MB / 2.187 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/6.247, allocations: 14.22 kB / 2.187 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/6.259, allocations: 4.123 MB / 2.191 GB, free: 28.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002411/6.262, allocations: 0.6553 MB / 2.191 GB, free: 27.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/6.263, allocations: 33.75 kB / 2.191 GB, free: 27.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004916/6.268, allocations: 280.6 kB / 2.192 GB, free: 27.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/6.268, allocations: 112.7 kB / 2.192 GB, free: 27.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/6.269, allocations: 75.11 kB / 2.192 GB, free: 27.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004142/6.273, allocations: 1.909 MB / 2.194 GB, free: 27.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.71e-07/6.273, allocations: 0 / 2.194 GB, free: 27.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00751/6.28, allocations: 1.653 MB / 2.195 GB, free: 27.79 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * 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 (80): * Single equations (assignments): 74 * 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.003231/6.284, allocations: 1.488 MB / 2.197 GB, free: 27.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01228/6.296, allocations: 3.544 MB / 2.2 GB, free: 27.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/6.296, allocations: 3.156 kB / 2.2 GB, free: 27.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.003621/6.3, allocations: 1.052 MB / 2.201 GB, free: 27.33 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007721/6.307, allocations: 1.499 MB / 2.203 GB, free: 27.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01361/6.321, allocations: 5.994 MB / 2.209 GB, free: 24.76 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/6.322, allocations: 1.775 MB / 2.21 GB, free: 24.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004037/6.326, allocations: 0.6584 MB / 2.211 GB, free: 23.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007089/6.327, allocations: 235.5 kB / 2.211 GB, free: 23.87 MB / 0.7136 GB Notification: Performance of SimCode: time 9.61e-07/6.327, allocations: 0 / 2.211 GB, free: 23.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.1122/6.439, allocations: 76.13 MB / 2.285 GB, free: 19.14 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)