Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.653/1.653, allocations: 289.7 MB / 302.2 MB, free: 2.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 183.2 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008774/0.0008775, allocations: 90.92 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.675e-05/5.679e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2597, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.587/1.847, allocations: 423.1 MB / 1.393 GB, free: 258.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.847, allocations: 94.19 kB / 1.393 GB, free: 258.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.698/3.546, allocations: 0.5473 GB / 1.94 GB, free: 155.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.194e-06/3.546, allocations: 3.688 kB / 1.94 GB, free: 155.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001889/3.546, allocations: 35.78 kB / 1.94 GB, free: 155.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004542/3.55, allocations: 1.844 MB / 1.942 GB, free: 154 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/3.551, allocations: 10.12 kB / 1.942 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004429/3.555, allocations: 0.6094 MB / 1.943 GB, free: 153.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003857/3.559, allocations: 1.77 MB / 1.945 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/3.559, allocations: 121.7 kB / 1.945 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/3.559, allocations: 124.9 kB / 1.945 GB, free: 152.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/3.562, allocations: 1.425 MB / 1.946 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/3.562, allocations: 3.938 kB / 1.946 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/3.562, allocations: 54.3 kB / 1.946 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/3.562, allocations: 33.44 kB / 1.946 GB, free: 151.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/3.564, allocations: 1.083 MB / 1.947 GB, free: 150.8 MB / 0.948 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.009667/3.573, allocations: 6.998 MB / 1.954 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009479/3.574, allocations: 0.583 MB / 1.955 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/3.575, allocations: 333.8 kB / 1.955 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/3.576, allocations: 1.27 MB / 1.956 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/3.576, allocations: 45.27 kB / 1.956 GB, free: 143 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 2.635e-06/3.576, allocations: 0 / 1.956 GB, free: 143 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.001603/3.578, allocations: 0.8071 MB / 1.957 GB, free: 142.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/3.578, allocations: 110.9 kB / 1.957 GB, free: 142.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/3.579, allocations: 1.22 MB / 1.958 GB, free: 141.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/3.58, allocations: 45.05 kB / 1.958 GB, free: 141.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/3.58, allocations: 0.6967 MB / 1.959 GB, free: 141.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/3.58, allocations: 226.5 kB / 1.959 GB, free: 141 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/3.58, allocations: 19.91 kB / 1.959 GB, free: 141 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/3.58, allocations: 333.9 kB / 1.96 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/3.581, allocations: 299.9 kB / 1.96 GB, free: 140.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/3.581, allocations: 0.5786 MB / 1.961 GB, free: 140 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/3.582, allocations: 367.9 kB / 1.961 GB, free: 139.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/3.582, allocations: 3.969 kB / 1.961 GB, free: 139.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001797/3.584, allocations: 1.111 MB / 1.962 GB, free: 139.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007071/3.585, allocations: 2.5 MB / 1.964 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/3.585, allocations: 7.406 kB / 1.964 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/3.586, allocations: 436.8 kB / 1.965 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/3.587, allocations: 245.1 kB / 1.965 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/3.588, allocations: 1.017 MB / 1.966 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/3.591, allocations: 282.4 kB / 1.966 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/3.591, allocations: 52.36 kB / 1.966 GB, free: 135.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/3.591, allocations: 7.719 kB / 1.966 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001542/3.593, allocations: 0.9584 MB / 1.967 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/3.593, allocations: 3.719 kB / 1.967 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/3.594, allocations: 434.1 kB / 1.968 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/3.595, allocations: 247.3 kB / 1.968 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000968/3.596, allocations: 1.019 MB / 1.969 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/3.598, allocations: 229.1 kB / 1.969 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/3.599, allocations: 54.39 kB / 1.969 GB, free: 133.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.000333/3.599, allocations: 161.4 kB / 1.969 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/3.599, allocations: 160.3 kB / 1.97 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/3.601, allocations: 0.9327 MB / 1.97 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/3.601, allocations: 7.281 kB / 1.97 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/3.601, allocations: 0 / 1.97 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/3.602, allocations: 0.8126 MB / 1.971 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004981/3.607, allocations: 3.007 MB / 1.974 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/3.607, allocations: 4 kB / 1.974 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000872/3.608, allocations: 151.1 kB / 1.974 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/3.609, allocations: 413 kB / 1.975 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/3.609, allocations: 23.97 kB / 1.975 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/3.611, allocations: 1.096 MB / 1.976 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/3.611, allocations: 4 kB / 1.976 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/3.613, allocations: 1.256 MB / 1.977 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007608/3.613, allocations: 383 kB / 1.977 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/3.614, allocations: 16 kB / 1.977 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/3.615, allocations: 143.8 kB / 1.978 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/3.615, allocations: 48.33 kB / 1.978 GB, free: 125.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/3.615, allocations: 47.94 kB / 1.978 GB, free: 125.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001306/3.617, allocations: 0.9562 MB / 1.979 GB, free: 124.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.8e-07/3.617, allocations: 0 / 1.979 GB, free: 124.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002855/3.62, allocations: 0.9746 MB / 1.98 GB, free: 123.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001659/3.621, allocations: 0.876 MB / 1.98 GB, free: 122.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002419/3.624, allocations: 1.333 MB / 1.982 GB, free: 121.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/3.624, allocations: 448 / 1.982 GB, free: 121.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/3.625, allocations: 473.8 kB / 1.982 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003694/3.629, allocations: 0.7742 MB / 1.983 GB, free: 120.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/3.632, allocations: 1.796 MB / 1.985 GB, free: 118.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/3.633, allocations: 1.237 MB / 1.986 GB, free: 117.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002134/3.635, allocations: 442.7 kB / 1.986 GB, free: 116.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/3.635, allocations: 95.36 kB / 1.986 GB, free: 116.6 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/3.635, allocations: 4 kB / 1.986 GB, free: 116.6 MB / 0.948 GB Notification: Performance of Templates: time 0.05405/3.69, allocations: 42.31 MB / 2.028 GB, free: 74.76 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)