Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.7/1.7, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 176.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 0.6626 GB, free: 4.332 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008677/0.0008677, allocations: 103.5 kB / 0.7808 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004297, allocations: 18.05 kB / 0.9088 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/0.7452, allocations: 120.3 MB / 1.026 GB, free: 56.66 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.772, allocations: 426.1 MB / 1.442 GB, free: 148 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.772, allocations: 95.03 kB / 1.442 GB, free: 147.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.594/3.367, allocations: 0.5503 GB / 1.993 GB, free: 77.16 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.964e-06/3.367, allocations: 0 / 1.993 GB, free: 77.16 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002644/3.367, allocations: 51.92 kB / 1.993 GB, free: 77.11 MB / 0.9792 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.006244/3.373, allocations: 2.076 MB / 1.995 GB, free: 74.96 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/3.373, allocations: 16.03 kB / 1.995 GB, free: 74.95 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004738/3.378, allocations: 0.6661 MB / 1.996 GB, free: 74.28 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004664/3.383, allocations: 1.77 MB / 1.997 GB, free: 72.45 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001868/3.383, allocations: 132.9 kB / 1.997 GB, free: 72.31 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004535/3.383, allocations: 127.9 kB / 1.998 GB, free: 72.19 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004535/3.388, allocations: 1.671 MB / 1.999 GB, free: 70.41 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/3.388, allocations: 0 / 1.999 GB, free: 70.41 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/3.388, allocations: 52 kB / 1.999 GB, free: 70.36 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/3.388, allocations: 35.94 kB / 1.999 GB, free: 70.33 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00441/3.393, allocations: 1.488 MB / 2.001 GB, free: 68.83 MB / 0.9792 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.01028/3.403, allocations: 7.062 MB / 2.008 GB, free: 61.44 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/3.405, allocations: 0.7761 MB / 2.008 GB, free: 60.65 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/3.406, allocations: 0.4905 MB / 2.009 GB, free: 60.16 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009995/3.407, allocations: 1.271 MB / 2.01 GB, free: 58.61 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/3.407, allocations: 39.12 kB / 2.01 GB, free: 58.56 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=66): time 3.616e-06/3.408, allocations: 3.938 kB / 2.01 GB, free: 58.56 MB / 0.9792 GB Notification: Performance of matching and sorting (n=66): time 0.02098/3.428, allocations: 3.769 MB / 2.014 GB, free: 54.76 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/3.429, allocations: 111.4 kB / 2.014 GB, free: 54.62 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002434/3.431, allocations: 1.375 MB / 2.015 GB, free: 53.24 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/3.431, allocations: 41.7 kB / 2.015 GB, free: 53.19 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/3.432, allocations: 0.6958 MB / 2.016 GB, free: 52.49 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/3.432, allocations: 232.7 kB / 2.016 GB, free: 52.26 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/3.432, allocations: 20 kB / 2.016 GB, free: 52.24 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/3.432, allocations: 337.9 kB / 2.017 GB, free: 51.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/3.434, allocations: 0.4899 MB / 2.017 GB, free: 51.41 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/3.436, allocations: 0.7905 MB / 2.018 GB, free: 50.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/3.439, allocations: 1.139 MB / 2.019 GB, free: 49.27 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/3.439, allocations: 7.938 kB / 2.019 GB, free: 49.26 MB / 0.9792 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004712/3.443, allocations: 1.564 MB / 2.02 GB, free: 47.69 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/3.444, allocations: 284.2 kB / 2.021 GB, free: 47.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/3.444, allocations: 4 kB / 2.021 GB, free: 47.32 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/3.446, allocations: 0.5595 MB / 2.021 GB, free: 46.76 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/3.447, allocations: 239.6 kB / 2.021 GB, free: 46.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/3.448, allocations: 1.178 MB / 2.023 GB, free: 45.32 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/3.451, allocations: 274.6 kB / 2.023 GB, free: 45.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/3.451, allocations: 55.92 kB / 2.023 GB, free: 45 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/3.451, allocations: 5.875 kB / 2.023 GB, free: 44.99 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004023/3.455, allocations: 1.415 MB / 2.024 GB, free: 43.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/3.455, allocations: 8 kB / 2.024 GB, free: 43.56 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/3.457, allocations: 0.5544 MB / 2.025 GB, free: 43.01 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/3.458, allocations: 247.6 kB / 2.025 GB, free: 42.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/3.459, allocations: 1.166 MB / 2.026 GB, free: 41.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002243/3.462, allocations: 235.2 kB / 2.026 GB, free: 41.34 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/3.462, allocations: 59.95 kB / 2.027 GB, free: 41.29 MB / 0.9792 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 () * Number of clocked 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009764/3.463, allocations: 449.6 kB / 2.027 GB, free: 40.84 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/3.463, allocations: 142.2 kB / 2.027 GB, free: 40.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/3.467, allocations: 1.322 MB / 2.028 GB, free: 39.36 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/3.467, allocations: 8 kB / 2.028 GB, free: 39.35 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/3.467, allocations: 3.938 kB / 2.028 GB, free: 39.34 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003146/3.47, allocations: 1.19 MB / 2.03 GB, free: 38.12 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/3.477, allocations: 3.424 MB / 2.033 GB, free: 34.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/3.477, allocations: 7.938 kB / 2.033 GB, free: 34.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007698/3.478, allocations: 143.9 kB / 2.033 GB, free: 34.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/3.48, allocations: 0.5517 MB / 2.034 GB, free: 33.79 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/3.48, allocations: 23.97 kB / 2.034 GB, free: 33.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/3.481, allocations: 1.162 MB / 2.035 GB, free: 32.58 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/3.482, allocations: 4 kB / 2.035 GB, free: 32.57 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/3.485, allocations: 1.453 MB / 2.036 GB, free: 31.06 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/3.486, allocations: 383 kB / 2.037 GB, free: 30.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/3.487, allocations: 20 kB / 2.037 GB, free: 30.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/3.489, allocations: 147.7 kB / 2.037 GB, free: 30.5 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/3.489, allocations: 56.3 kB / 2.037 GB, free: 30.44 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/3.489, allocations: 43.95 kB / 2.037 GB, free: 30.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001822/3.491, allocations: 0.9498 MB / 2.038 GB, free: 29.45 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.6e-07/3.491, allocations: 0 / 2.038 GB, free: 29.45 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003124/3.494, allocations: 0.9435 MB / 2.039 GB, free: 28.5 MB / 0.9792 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) * Number of clocked states: 0 () * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001756/3.496, allocations: 0.8372 MB / 2.039 GB, free: 27.68 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005595/3.501, allocations: 1.826 MB / 2.041 GB, free: 25.86 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/3.501, allocations: 4 kB / 2.041 GB, free: 25.85 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/3.503, allocations: 0.5456 MB / 2.042 GB, free: 25.31 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005545/3.508, allocations: 0.8039 MB / 2.043 GB, free: 24.52 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006731/3.515, allocations: 3.081 MB / 2.046 GB, free: 21.37 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008447/3.516, allocations: 1.203 MB / 2.047 GB, free: 20.13 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002067/3.518, allocations: 339.9 kB / 2.047 GB, free: 19.79 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/3.519, allocations: 123.3 kB / 2.047 GB, free: 19.67 MB / 0.9792 GB Notification: Performance of SimCode: time 9.51e-07/3.519, allocations: 3.938 kB / 2.047 GB, free: 19.67 MB / 0.9792 GB Notification: Performance of Templates: time 0.5172/4.036, allocations: 41.35 MB / 2.088 GB, free: 159.1 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)