Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 252 MB / 267.9 MB, free: 10.91 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.001006/0.001006, allocations: 178.5 kB / 327.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 0.5785 GB, free: 20.18 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.0007994/0.0007995, allocations: 88.27 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.000421, allocations: 17.58 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1979, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7217/0.9197, allocations: 355.5 MB / 1.248 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.92, allocations: 89.17 kB / 1.248 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.01981/0.9398, allocations: 9.233 MB / 1.257 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9398, allocations: 0 / 1.257 GB, free: 3.176 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.9398, allocations: 4 kB / 1.257 GB, free: 3.172 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.0006352/0.9405, allocations: 493.1 kB / 1.258 GB, free: 2.648 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.9405, allocations: 8.031 kB / 1.258 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.9406, allocations: 24.19 kB / 1.258 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.9409, allocations: 241.5 kB / 1.258 GB, free: 2.355 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.941, allocations: 4.375 kB / 1.258 GB, free: 2.352 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.941, allocations: 3.812 kB / 1.258 GB, free: 2.352 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.9413, allocations: 143.8 kB / 1.258 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.9413, allocations: 192 / 1.258 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.9414, allocations: 3.938 kB / 1.258 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.9414, allocations: 11.31 kB / 1.258 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.9418, allocations: 153.9 kB / 1.259 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.9424, allocations: 460.3 kB / 1.259 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.9428, allocations: 177.2 kB / 1.259 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.943, allocations: 109.1 kB / 1.259 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.9431, allocations: 3.984 kB / 1.259 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.9431, allocations: 38.12 kB / 1.259 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.9431, allocations: 0 / 1.259 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.0007364/0.9438, allocations: 301.7 kB / 1.26 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.9439, allocations: 63.28 kB / 1.26 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.944, allocations: 208 kB / 1.26 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.9441, allocations: 28.7 kB / 1.26 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.9441, allocations: 121 kB / 1.26 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.9442, allocations: 47.06 kB / 1.26 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.9442, allocations: 3.062 kB / 1.26 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.9443, allocations: 329.6 kB / 1.26 GB, free: 376 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.9445, allocations: 85.92 kB / 1.26 GB, free: 308 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.9447, allocations: 84.88 kB / 1.26 GB, free: 240 kB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.9451, allocations: 176.5 kB / 1.261 GB, free: 96 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.9451, allocations: 0 / 1.261 GB, free: 96 kB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000471/0.9456, allocations: 222.8 kB / 1.261 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.9456, allocations: 4 kB / 1.261 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.9456, allocations: 0 / 1.261 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.9456, allocations: 0 / 1.261 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.9459, allocations: 43.34 kB / 1.261 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9459, allocations: 4 kB / 1.261 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.946, allocations: 19.97 kB / 1.261 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.946, allocations: 4.625 kB / 1.261 GB, free: 15.83 MB / 0.7761 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 9.748e-05/0.9461, allocations: 135.6 kB / 1.261 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.9462, allocations: 23.72 kB / 1.261 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.9462, allocations: 22.97 kB / 1.261 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.9463, allocations: 4 kB / 1.261 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.9463, allocations: 0 / 1.261 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.9463, allocations: 3.984 kB / 1.261 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.9465, allocations: 261.8 kB / 1.261 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9465, allocations: 0 / 1.261 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.9467, allocations: 39.95 kB / 1.261 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9467, allocations: 0 / 1.261 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.9467, allocations: 2.812 kB / 1.261 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.9468, allocations: 4 kB / 1.261 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.9468, allocations: 4 kB / 1.261 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.9473, allocations: 325 kB / 1.262 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-05/0.9474, allocations: 115.6 kB / 1.262 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.9474, allocations: 0 / 1.262 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.9476, allocations: 19.48 kB / 1.262 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.9476, allocations: 11.92 kB / 1.262 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.9476, allocations: 15.23 kB / 1.262 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001022/0.9478, allocations: 147.9 kB / 1.262 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9478, allocations: 0 / 1.262 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002561/0.948, allocations: 35.5 kB / 1.262 GB, free: 14.72 MB / 0.7761 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.0002175/0.9482, allocations: 162.9 kB / 1.262 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.9487, allocations: 178.8 kB / 1.262 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9487, allocations: 0 / 1.262 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.9489, allocations: 101.8 kB / 1.262 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.9493, allocations: 38.27 kB / 1.263 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.95, allocations: 485.6 kB / 1.263 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.9502, allocations: 0.7311 MB / 1.264 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001671/0.9504, allocations: 44.59 kB / 1.264 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.9505, allocations: 19.42 kB / 1.264 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of SimCode: time 2.41e-07/0.9505, allocations: 0 / 1.264 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.004756/0.9552, allocations: 2.197 MB / 1.266 GB, free: 10.85 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)