Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.00146, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7722/0.7722, allocations: 130.7 MB / 138.7 MB, free: 3.578 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 221.5 MB / 391.8 MB, free: 14.23 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.0009698/0.0009695, allocations: 95.38 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.773e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4897/0.4898, allocations: 81.56 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8641/1.354, allocations: 397.3 MB / 1.016 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/1.354, allocations: 92.25 kB / 1.016 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.013/5.367, allocations: 1.057 GB / 2.073 GB, free: 1.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.753e-06/5.368, allocations: 0 / 2.073 GB, free: 1.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000599/5.368, allocations: 87.84 kB / 2.073 GB, free: 1.57 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01048/5.379, allocations: 3.179 MB / 2.076 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/5.379, allocations: 8.031 kB / 2.076 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009201/5.388, allocations: 1.217 MB / 2.077 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009468/5.397, allocations: 3.31 MB / 2.08 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/5.398, allocations: 163.9 kB / 2.081 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009303/5.399, allocations: 139.9 kB / 2.081 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005295/5.404, allocations: 1.969 MB / 2.083 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006382/5.41, allocations: 2.454 MB / 2.085 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.879e-05/5.411, allocations: 7.938 kB / 2.085 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004836/5.411, allocations: 4 kB / 2.085 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/5.411, allocations: 68 kB / 2.085 GB, free: 4.672 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.5152/5.926, allocations: 12.61 MB / 2.097 GB, free: 64.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/5.928, allocations: 1.125 MB / 2.099 GB, free: 63.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/5.929, allocations: 0.5917 MB / 2.099 GB, free: 63.83 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/5.931, allocations: 1.777 MB / 2.101 GB, free: 61.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/5.932, allocations: 0.913 MB / 2.102 GB, free: 61.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 2.946e-06/5.932, allocations: 1.969 kB / 2.102 GB, free: 61.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.007206/5.939, allocations: 1.841 MB / 2.104 GB, free: 61.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002341/5.939, allocations: 0.9419 MB / 2.105 GB, free: 60.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/5.943, allocations: 1.848 MB / 2.106 GB, free: 60.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004348/5.943, allocations: 34.42 kB / 2.106 GB, free: 60.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001289/5.945, allocations: 1.397 MB / 2.108 GB, free: 59.61 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/5.945, allocations: 400.8 kB / 2.108 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/5.945, allocations: 0 / 2.108 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.991e-05/5.945, allocations: 365 kB / 2.108 GB, free: 59.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009349/5.946, allocations: 0.5984 MB / 2.109 GB, free: 59.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/5.948, allocations: 1.184 MB / 2.11 GB, free: 58.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/5.951, allocations: 0.9688 MB / 2.111 GB, free: 58.44 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/5.952, allocations: 6.469 kB / 2.111 GB, free: 58.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006673/5.958, allocations: 2.276 MB / 2.113 GB, free: 58.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001028/5.959, allocations: 4.94 MB / 2.118 GB, free: 52.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/5.959, allocations: 12.66 kB / 2.118 GB, free: 52.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/5.96, allocations: 0.5292 MB / 2.119 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/5.963, allocations: 497.7 kB / 2.119 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/5.965, allocations: 1.785 MB / 2.121 GB, free: 51.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004935/5.97, allocations: 446.8 kB / 2.121 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/5.97, allocations: 110.2 kB / 2.121 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/5.97, allocations: 3.562 kB / 2.121 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005566/5.976, allocations: 1.994 MB / 2.123 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/5.976, allocations: 12.75 kB / 2.123 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/5.977, allocations: 0.5308 MB / 2.124 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/5.979, allocations: 484.7 kB / 2.124 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/5.981, allocations: 1.781 MB / 2.126 GB, free: 50.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/5.986, allocations: 355.8 kB / 2.126 GB, free: 50.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/5.986, allocations: 104.1 kB / 2.127 GB, free: 50.68 MB / 0.7136 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,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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.0006242/5.987, allocations: 163.2 kB / 2.127 GB, free: 50.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007991/5.987, allocations: 243.8 kB / 2.127 GB, free: 50.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007046/5.994, allocations: 1.847 MB / 2.129 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.044e-05/5.995, allocations: 13.22 kB / 2.129 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/5.995, allocations: 8.625 kB / 2.129 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005431/6, allocations: 1.674 MB / 2.13 GB, free: 50.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/6.013, allocations: 6.238 MB / 2.137 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/6.013, allocations: 6.688 kB / 2.137 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/6.015, allocations: 290.2 kB / 2.137 GB, free: 48.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/6.016, allocations: 0.5263 MB / 2.137 GB, free: 48.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/6.016, allocations: 38.09 kB / 2.137 GB, free: 48.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/6.018, allocations: 1.77 MB / 2.139 GB, free: 47.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/6.018, allocations: 11.34 kB / 2.139 GB, free: 47.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007517/6.025, allocations: 3.301 MB / 2.142 GB, free: 45.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/6.027, allocations: 0.6218 MB / 2.143 GB, free: 45.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/6.027, allocations: 15.94 kB / 2.143 GB, free: 45.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002821/6.03, allocations: 250.8 kB / 2.143 GB, free: 45.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/6.03, allocations: 113.5 kB / 2.143 GB, free: 45.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/6.031, allocations: 73.34 kB / 2.143 GB, free: 45.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002135/6.033, allocations: 1.383 MB / 2.145 GB, free: 45.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/6.033, allocations: 0 / 2.145 GB, free: 45.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006121/6.039, allocations: 1.816 MB / 2.146 GB, free: 45.31 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * 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,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.00273/6.042, allocations: 1.478 MB / 2.148 GB, free: 45.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004643/6.046, allocations: 2.55 MB / 2.15 GB, free: 44.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/6.046, allocations: 7.031 kB / 2.15 GB, free: 44.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/6.048, allocations: 0.7359 MB / 2.151 GB, free: 44.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005413/6.053, allocations: 1.072 MB / 2.152 GB, free: 44.85 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009201/6.062, allocations: 3.87 MB / 2.156 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/6.063, allocations: 1.771 MB / 2.158 GB, free: 42.97 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004213/6.068, allocations: 0.7596 MB / 2.158 GB, free: 42.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000443/6.068, allocations: 178.9 kB / 2.159 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of SimCode: time 1.283e-06/6.068, allocations: 0 / 2.159 GB, free: 42.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.08364/6.152, allocations: 62.69 MB / 2.22 GB, free: 39.23 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)