Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.198/2.198, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001505, allocations: 179.3 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.338/2.338, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009585/0.0009585, allocations: 100.5 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004838, allocations: 16.66 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.391, allocations: 355.4 MB / 1.247 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/1.392, allocations: 93.95 kB / 1.247 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03803/1.43, allocations: 9.348 MB / 1.256 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.064e-06/1.43, allocations: 0 / 1.256 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.782e-05/1.43, allocations: 4 kB / 1.256 GB, free: 6.406 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00113/1.431, allocations: 0.4904 MB / 1.256 GB, free: 5.875 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.431, allocations: 12.02 kB / 1.256 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/1.431, allocations: 16.75 kB / 1.256 GB, free: 5.848 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/1.432, allocations: 249.4 kB / 1.257 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/1.432, allocations: 7.875 kB / 1.257 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/1.432, allocations: 384 / 1.257 GB, free: 5.574 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006109/1.432, allocations: 162.3 kB / 1.257 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.432, allocations: 192 / 1.257 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/1.432, allocations: 3.938 kB / 1.257 GB, free: 5.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/1.432, allocations: 8 kB / 1.257 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008423/1.433, allocations: 167.3 kB / 1.257 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/1.434, allocations: 459.4 kB / 1.257 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00074/1.435, allocations: 176.8 kB / 1.257 GB, free: 4.711 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/1.436, allocations: 113.2 kB / 1.258 GB, free: 4.625 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/1.436, allocations: 3.938 kB / 1.258 GB, free: 4.621 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/1.436, allocations: 34.56 kB / 1.258 GB, free: 4.578 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 2.605e-06/1.436, allocations: 4 kB / 1.258 GB, free: 4.574 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.001535/1.437, allocations: 307.8 kB / 1.258 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/1.437, allocations: 59.39 kB / 1.258 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/1.438, allocations: 209.3 kB / 1.258 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/1.438, allocations: 29.14 kB / 1.258 GB, free: 4.035 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/1.438, allocations: 133 kB / 1.258 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.575e-05/1.438, allocations: 50.48 kB / 1.258 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/1.438, allocations: 0 / 1.258 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.438, allocations: 334.1 kB / 1.259 GB, free: 3.555 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/1.439, allocations: 82.19 kB / 1.259 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/1.439, allocations: 90.88 kB / 1.259 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/1.44, allocations: 85.75 kB / 1.259 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.44, allocations: 0 / 1.259 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001044/1.441, allocations: 231.3 kB / 1.259 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.441, allocations: 5.562 kB / 1.259 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.441, allocations: 4 kB / 1.259 GB, free: 3.156 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/1.441, allocations: 0 / 1.259 GB, free: 3.156 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/1.441, allocations: 39.95 kB / 1.259 GB, free: 3.117 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/1.441, allocations: 0.625 kB / 1.259 GB, free: 3.117 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/1.442, allocations: 27.42 kB / 1.259 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/1.442, allocations: 4 kB / 1.259 GB, free: 3.09 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/1.442, allocations: 129.1 kB / 1.259 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/1.442, allocations: 23.7 kB / 1.259 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/1.442, allocations: 27.83 kB / 1.259 GB, free: 2.926 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.442, allocations: 4 kB / 1.259 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.442, allocations: 4 kB / 1.259 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/1.442, allocations: 0 / 1.259 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/1.442, allocations: 267.1 kB / 1.26 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.442, allocations: 0 / 1.26 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/1.443, allocations: 39.95 kB / 1.26 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.443, allocations: 0 / 1.26 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/1.443, allocations: 3.75 kB / 1.26 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.306e-05/1.443, allocations: 11.94 kB / 1.26 GB, free: 2.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.443, allocations: 4 kB / 1.26 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.444, allocations: 330.9 kB / 1.26 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/1.444, allocations: 111.8 kB / 1.26 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/1.444, allocations: 0 / 1.26 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/1.445, allocations: 19.48 kB / 1.26 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.075e-05/1.445, allocations: 11.97 kB / 1.26 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/1.445, allocations: 11.56 kB / 1.26 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002151/1.445, allocations: 157.2 kB / 1.26 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.01e-07/1.445, allocations: 3.938 kB / 1.26 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004916/1.446, allocations: 43.5 kB / 1.26 GB, free: 1.953 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004037/1.446, allocations: 151.8 kB / 1.261 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001014/1.447, allocations: 187.9 kB / 1.261 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.447, allocations: 0 / 1.261 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004905/1.448, allocations: 104 kB / 1.261 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/1.448, allocations: 34.42 kB / 1.261 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/1.449, allocations: 0.4915 MB / 1.261 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/1.45, allocations: 0.7315 MB / 1.262 GB, free: 312 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003465/1.45, allocations: 52.58 kB / 1.262 GB, free: 260 kB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/1.45, allocations: 15.44 kB / 1.262 GB, free: 244 kB / 0.7605 GB Notification: Performance of SimCode: time 1.432e-06/1.45, allocations: 0 / 1.262 GB, free: 244 kB / 0.7605 GB Notification: Performance of Templates: time 0.008631/1.459, allocations: 2.296 MB / 1.264 GB, free: 13.96 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)