Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001032/0.001032, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007621/0.007621, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9757/0.9757, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 12 kB / 0.5076 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 82.31 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.4084/0.5668, allocations: 127.9 MB / 0.7129 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03879/0.6056, allocations: 24.95 MB / 0.7372 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007003/0.6127, allocations: 119 kB / 0.7373 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00591/0.6186, allocations: 1.42 MB / 0.7387 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.6362, allocations: 4.154 MB / 0.7428 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009651/0.6458, allocations: 3.184 MB / 0.7459 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01442/0.6603, allocations: 11.41 MB / 0.757 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004658/0.665, allocations: 2.527 MB / 0.7595 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006181/0.6712, allocations: 2.761 MB / 0.7622 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/0.6755, allocations: 2.302 MB / 0.7645 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009872/0.6765, allocations: 128 kB / 0.7646 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007003/0.6835, allocations: 2.48 MB / 0.767 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.685, allocations: 0.6182 MB / 0.7676 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003917/0.6889, allocations: 1.708 MB / 0.7693 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.701, allocations: 6.03 MB / 0.7752 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.701, allocations: 0 / 0.7752 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.663e-06/0.701, allocations: 0 / 0.7752 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.355e-05/0.7011, allocations: 4 kB / 0.7752 GB, free: 12.53 MB / 0.5919 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.006174/0.7072, allocations: 3.359 MB / 0.7784 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.7073, allocations: 12.03 kB / 0.7785 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009933/0.7172, allocations: 1.373 MB / 0.7798 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/0.7228, allocations: 2.923 MB / 0.7826 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.723, allocations: 255.9 kB / 0.7829 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004031/0.7234, allocations: 228 kB / 0.7831 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007314/0.7308, allocations: 3.169 MB / 0.7862 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.7308, allocations: 7.938 kB / 0.7862 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002615/0.7311, allocations: 107.9 kB / 0.7863 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.859e-05/0.7312, allocations: 64 kB / 0.7864 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008544/0.7397, allocations: 2.795 MB / 0.7891 GB, free: 13.86 MB / 0.6075 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.01982/0.7596, allocations: 13.31 MB / 0.8021 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00407/0.7637, allocations: 1.418 MB / 0.8035 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003033/0.7667, allocations: 0.9049 MB / 0.8044 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/0.7688, allocations: 1.785 MB / 0.8061 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003743/0.7725, allocations: 1.177 MB / 0.8073 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 4.017e-06/0.7726, allocations: 0 / 0.8073 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126): time 0.02128/0.7939, allocations: 4.284 MB / 0.8114 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00025/0.7941, allocations: 0.577 MB / 0.812 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.7982, allocations: 2.509 MB / 0.8145 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002998/0.7985, allocations: 57.7 kB / 0.8145 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.7997, allocations: 1.344 MB / 0.8158 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/0.8002, allocations: 449.7 kB / 0.8163 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/0.8004, allocations: 145.6 kB / 0.8164 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.8005, allocations: 305.1 kB / 0.8167 GB, free: 320 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/0.8041, allocations: 0.972 MB / 0.8176 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00399/0.8081, allocations: 1.556 MB / 0.8192 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006815/0.8149, allocations: 2.23 MB / 0.8213 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.815, allocations: 3.984 kB / 0.8213 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01196/0.8269, allocations: 3.097 MB / 0.8244 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005149/0.8275, allocations: 478.5 kB / 0.8248 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.8275, allocations: 12 kB / 0.8248 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/0.8317, allocations: 0.7236 MB / 0.8255 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00465/0.8363, allocations: 0.4992 MB / 0.826 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.8407, allocations: 1.812 MB / 0.8278 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008043/0.8488, allocations: 0.5042 MB / 0.8283 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006013/0.8494, allocations: 107.9 kB / 0.8284 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.8495, allocations: 4 kB / 0.8284 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02018/0.8696, allocations: 2.809 MB / 0.8311 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.593e-05/0.8697, allocations: 12 kB / 0.8311 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004757/0.8745, allocations: 0.7283 MB / 0.8319 GB, free: 120 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005281/0.8798, allocations: 499.4 kB / 0.8323 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/0.8845, allocations: 1.809 MB / 0.8341 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007896/0.8925, allocations: 455.8 kB / 0.8345 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005829/0.8931, allocations: 107.9 kB / 0.8346 GB, free: 13.22 MB / 0.6544 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 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,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 (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.003164/0.8963, allocations: 0.6997 MB / 0.8353 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/0.8977, allocations: 268.7 kB / 0.8356 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01846/0.9162, allocations: 2.59 MB / 0.8381 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.223e-05/0.9163, allocations: 19.94 kB / 0.8381 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.9163, allocations: 3.984 kB / 0.8381 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01142/0.9277, allocations: 2.234 MB / 0.8403 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01879/0.9466, allocations: 6.507 MB / 0.8467 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/0.9466, allocations: 8 kB / 0.8467 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/0.9486, allocations: 299.7 kB / 0.847 GB, free: 356 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/0.9511, allocations: 0.704 MB / 0.8476 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/0.9513, allocations: 51.94 kB / 0.8477 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/0.9538, allocations: 1.79 MB / 0.8494 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.9538, allocations: 11.94 kB / 0.8495 GB, free: 13.74 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/0.9664, allocations: 3.573 MB / 0.8529 GB, free: 10.03 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/0.9683, allocations: 0.6496 MB / 0.8536 GB, free: 9.359 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008454/0.9692, allocations: 43.92 kB / 0.8536 GB, free: 9.316 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003772/0.973, allocations: 278.1 kB / 0.8539 GB, free: 9.047 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/0.9733, allocations: 116.7 kB / 0.854 GB, free: 8.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002333/0.9735, allocations: 75.92 kB / 0.8541 GB, free: 8.859 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00379/0.9773, allocations: 1.759 MB / 0.8558 GB, free: 7.098 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9773, allocations: 0 / 0.8558 GB, free: 7.098 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005884/0.9832, allocations: 1.664 MB / 0.8574 GB, free: 5.43 MB / 0.67 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002315/0.9856, allocations: 0.8139 MB / 0.8582 GB, free: 4.625 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01309/0.9987, allocations: 3.621 MB / 0.8617 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-05/0.9987, allocations: 4.438 kB / 0.8617 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.3049/1.304, allocations: 1.048 MB / 0.8628 GB, free: 210.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009739/1.313, allocations: 1.421 MB / 0.8642 GB, free: 210.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.325, allocations: 6.402 MB / 0.8704 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.326, allocations: 1.725 MB / 0.8721 GB, free: 207.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003709/1.33, allocations: 0.6926 MB / 0.8728 GB, free: 207.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007394/1.331, allocations: 240.2 kB / 0.873 GB, free: 207.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.693e-06/1.331, allocations: 0 / 0.873 GB, free: 207.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1049/1.436, allocations: 67.97 MB / 0.9394 GB, free: 180.8 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)