Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001437, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.006/1.006, allocations: 130.7 MB / 138.7 MB, free: 3.59 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.584/1.584, allocations: 221.5 MB / 391.8 MB, free: 14.15 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.001094/0.001094, allocations: 104.8 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.87e-05/1.871e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5224/0.5224, allocations: 81.57 MB / 0.6282 GB, free: 42.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8713/1.394, allocations: 396.4 MB / 1.015 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/1.394, allocations: 89.83 kB / 1.015 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.368/3.762, allocations: 0.5558 GB / 1.571 GB, free: 91.03 MB / 0.6667 GB Notification: Performance of FrontEnd: time 9.92e-07/3.762, allocations: 2.406 kB / 1.571 GB, free: 91.03 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001522/3.762, allocations: 47.03 kB / 1.571 GB, free: 91.03 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004052/3.766, allocations: 1.898 MB / 1.573 GB, free: 90.36 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/3.766, allocations: 12.53 kB / 1.573 GB, free: 90.36 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004014/3.77, allocations: 0.6133 MB / 1.574 GB, free: 90.27 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003367/3.774, allocations: 1.799 MB / 1.575 GB, free: 89.95 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/3.774, allocations: 82.33 kB / 1.575 GB, free: 89.92 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/3.774, allocations: 73.12 kB / 1.576 GB, free: 89.92 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001915/3.776, allocations: 1.022 MB / 1.577 GB, free: 89.91 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/3.778, allocations: 1.276 MB / 1.578 GB, free: 89.66 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/3.778, allocations: 8.75 kB / 1.578 GB, free: 89.66 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/3.778, allocations: 2.938 kB / 1.578 GB, free: 89.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/3.778, allocations: 55.56 kB / 1.578 GB, free: 89.66 MB / 0.6667 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.008992/3.787, allocations: 6.493 MB / 1.584 GB, free: 86.92 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/3.788, allocations: 0.5012 MB / 1.585 GB, free: 86.89 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/3.788, allocations: 313.6 kB / 1.585 GB, free: 86.88 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/3.789, allocations: 1.271 MB / 1.586 GB, free: 85.47 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006461/3.79, allocations: 0.4992 MB / 1.587 GB, free: 85.3 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 3.096e-06/3.79, allocations: 0 / 1.587 GB, free: 85.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.002783/3.793, allocations: 0.9057 MB / 1.588 GB, free: 85.18 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/3.793, allocations: 478.7 kB / 1.588 GB, free: 84.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/3.794, allocations: 0.9979 MB / 1.589 GB, free: 84.48 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/3.794, allocations: 31.61 kB / 1.589 GB, free: 84.45 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005525/3.795, allocations: 0.7281 MB / 1.59 GB, free: 84.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/3.795, allocations: 224.3 kB / 1.59 GB, free: 84.09 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/3.795, allocations: 0 / 1.59 GB, free: 84.09 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/3.795, allocations: 344.7 kB / 1.59 GB, free: 83.78 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/3.796, allocations: 315 kB / 1.591 GB, free: 83.78 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006322/3.796, allocations: 0.6065 MB / 1.591 GB, free: 83.44 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/3.798, allocations: 499.3 kB / 1.592 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/3.798, allocations: 3.25 kB / 1.592 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00479/3.803, allocations: 1.258 MB / 1.593 GB, free: 83.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000791/3.804, allocations: 2.502 MB / 1.595 GB, free: 80.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/3.804, allocations: 6.188 kB / 1.595 GB, free: 80.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009374/3.805, allocations: 266.5 kB / 1.596 GB, free: 80.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/3.806, allocations: 269.3 kB / 1.596 GB, free: 80.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/3.807, allocations: 0.8916 MB / 1.597 GB, free: 80.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/3.81, allocations: 236.7 kB / 1.597 GB, free: 80.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/3.81, allocations: 59.59 kB / 1.597 GB, free: 80.17 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/3.81, allocations: 3.938 kB / 1.597 GB, free: 80.17 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004331/3.815, allocations: 1.119 MB / 1.598 GB, free: 80.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/3.815, allocations: 10.31 kB / 1.598 GB, free: 80.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/3.815, allocations: 272.6 kB / 1.598 GB, free: 80.13 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/3.817, allocations: 268.3 kB / 1.599 GB, free: 80.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/3.818, allocations: 0.8876 MB / 1.6 GB, free: 79.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/3.82, allocations: 197.8 kB / 1.6 GB, free: 79.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/3.82, allocations: 60.56 kB / 1.6 GB, free: 79.58 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (90): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003157/3.82, allocations: 139.2 kB / 1.6 GB, free: 79.47 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/3.821, allocations: 133 kB / 1.6 GB, free: 79.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/3.824, allocations: 0.9924 MB / 1.601 GB, free: 79.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/3.824, allocations: 7.531 kB / 1.601 GB, free: 79.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/3.824, allocations: 3.25 kB / 1.601 GB, free: 79.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003129/3.827, allocations: 0.8998 MB / 1.602 GB, free: 79.14 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006106/3.834, allocations: 3.174 MB / 1.605 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/3.834, allocations: 4.062 kB / 1.605 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/3.835, allocations: 161.2 kB / 1.605 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006152/3.835, allocations: 275.9 kB / 1.605 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/3.835, allocations: 20.25 kB / 1.605 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/3.836, allocations: 0.882 MB / 1.606 GB, free: 77.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/3.836, allocations: 7.406 kB / 1.606 GB, free: 77.57 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/3.841, allocations: 1.825 MB / 1.608 GB, free: 76.93 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009795/3.842, allocations: 365.3 kB / 1.608 GB, free: 76.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/3.842, allocations: 11.61 kB / 1.608 GB, free: 76.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/3.844, allocations: 136 kB / 1.609 GB, free: 76.76 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/3.844, allocations: 74.19 kB / 1.609 GB, free: 76.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.046e-05/3.844, allocations: 44.98 kB / 1.609 GB, free: 76.76 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001367/3.845, allocations: 0.7448 MB / 1.609 GB, free: 76.65 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/3.845, allocations: 0 / 1.609 GB, free: 76.65 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003598/3.849, allocations: 0.9916 MB / 1.61 GB, free: 76.47 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/3.851, allocations: 0.8832 MB / 1.611 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002227/3.853, allocations: 1.388 MB / 1.613 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/3.853, allocations: 6.312 kB / 1.613 GB, free: 76.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/3.854, allocations: 392.5 kB / 1.613 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/3.856, allocations: 0.5762 MB / 1.614 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/3.861, allocations: 2.019 MB / 1.615 GB, free: 75.45 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005672/3.861, allocations: 1.252 MB / 1.617 GB, free: 74.73 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001911/3.863, allocations: 400.6 kB / 1.617 GB, free: 74.72 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/3.864, allocations: 98.31 kB / 1.617 GB, free: 74.71 MB / 0.6667 GB Notification: Performance of SimCode: time 8.51e-07/3.864, allocations: 0 / 1.617 GB, free: 74.71 MB / 0.6667 GB Notification: Performance of Templates: time 0.0538/3.917, allocations: 33.85 MB / 1.65 GB, free: 73.15 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)