Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.132/2.132, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001458/0.001457, allocations: 176.5 kB / 326.2 MB, free: 2.867 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.345/2.345, allocations: 205.4 MB / 0.5772 GB, free: 20.81 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.001011/0.001011, allocations: 93.78 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006345/0.0006347, allocations: 12.31 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2232, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.36, allocations: 355.3 MB / 1.246 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/1.36, allocations: 89.22 kB / 1.247 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.03619/1.396, allocations: 9.235 MB / 1.256 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.365e-06/1.396, allocations: 0 / 1.256 GB, free: 6.648 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.404e-05/1.396, allocations: 4 kB / 1.256 GB, free: 6.645 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.001039/1.397, allocations: 499.1 kB / 1.256 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.397, allocations: 8.031 kB / 1.256 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/1.397, allocations: 16.75 kB / 1.256 GB, free: 6.094 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005429/1.398, allocations: 242.2 kB / 1.256 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/1.398, allocations: 3.75 kB / 1.256 GB, free: 5.828 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/1.398, allocations: 4.375 kB / 1.256 GB, free: 5.824 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/1.399, allocations: 141.1 kB / 1.256 GB, free: 5.703 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.399, allocations: 192 / 1.256 GB, free: 5.703 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/1.399, allocations: 11.25 kB / 1.256 GB, free: 5.695 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/1.399, allocations: 15.92 kB / 1.256 GB, free: 5.68 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/1.4, allocations: 156.4 kB / 1.257 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/1.401, allocations: 454.3 kB / 1.257 GB, free: 5.117 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/1.401, allocations: 169.3 kB / 1.257 GB, free: 4.98 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/1.402, allocations: 110.4 kB / 1.257 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/1.402, allocations: 8 kB / 1.257 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.402, allocations: 34 kB / 1.257 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 3.246e-06/1.402, allocations: 0 / 1.257 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.001521/1.403, allocations: 307.9 kB / 1.258 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/1.404, allocations: 51.41 kB / 1.258 GB, free: 4.527 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/1.404, allocations: 209 kB / 1.258 GB, free: 4.344 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/1.404, allocations: 25.7 kB / 1.258 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/1.404, allocations: 127 kB / 1.258 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/1.404, allocations: 46.88 kB / 1.258 GB, free: 4.168 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.872e-05/1.404, allocations: 7.625 kB / 1.258 GB, free: 4.164 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.404, allocations: 333.8 kB / 1.258 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004127/1.405, allocations: 74.25 kB / 1.258 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/1.405, allocations: 78.06 kB / 1.259 GB, free: 3.715 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/1.406, allocations: 93.25 kB / 1.259 GB, free: 3.645 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.406, allocations: 0 / 1.259 GB, free: 3.645 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009955/1.407, allocations: 224.5 kB / 1.259 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.407, allocations: 11.98 kB / 1.259 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.407, allocations: 0 / 1.259 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/1.407, allocations: 0 / 1.259 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/1.407, allocations: 39.53 kB / 1.259 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.407, allocations: 0.625 kB / 1.259 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/1.407, allocations: 19.98 kB / 1.259 GB, free: 3.387 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/1.407, allocations: 7.984 kB / 1.259 GB, free: 3.379 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.0001831/1.408, allocations: 132.2 kB / 1.259 GB, free: 3.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/1.408, allocations: 19.72 kB / 1.259 GB, free: 3.23 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/1.408, allocations: 24.27 kB / 1.259 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.408, allocations: 4 kB / 1.259 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.408, allocations: 0 / 1.259 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.408, allocations: 0 / 1.259 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000394/1.408, allocations: 261.9 kB / 1.259 GB, free: 2.941 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.408, allocations: 4 kB / 1.259 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/1.409, allocations: 35.84 kB / 1.259 GB, free: 2.906 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/1.409, allocations: 4 kB / 1.259 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/1.409, allocations: 3.984 kB / 1.259 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.409, allocations: 0 / 1.259 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.409, allocations: 4 kB / 1.259 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/1.41, allocations: 338 kB / 1.26 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/1.41, allocations: 108.3 kB / 1.26 GB, free: 2.465 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/1.41, allocations: 7.562 kB / 1.26 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/1.41, allocations: 15.98 kB / 1.26 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/1.41, allocations: 11.3 kB / 1.26 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/1.41, allocations: 0 / 1.26 GB, free: 2.438 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002168/1.411, allocations: 161.3 kB / 1.26 GB, free: 2.301 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.51e-07/1.411, allocations: 3.938 kB / 1.26 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000408/1.411, allocations: 34.62 kB / 1.26 GB, free: 2.266 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.0003152/1.411, allocations: 147.7 kB / 1.26 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009307/1.412, allocations: 185.3 kB / 1.26 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.412, allocations: 8 kB / 1.26 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004553/1.413, allocations: 100.2 kB / 1.26 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/1.413, allocations: 31.45 kB / 1.26 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/1.415, allocations: 477.2 kB / 1.261 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/1.415, allocations: 0.7352 MB / 1.262 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003469/1.416, allocations: 40.61 kB / 1.262 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/1.416, allocations: 19.42 kB / 1.262 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of SimCode: time 1.142e-06/1.416, allocations: 0 / 1.262 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of Templates: time 0.00913/1.425, allocations: 2.19 MB / 1.264 GB, free: 14.41 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)