Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 292.6 MB / 307.6 MB, free: 5.199 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.001291/0.001291, allocations: 180.2 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.112/2.112, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.001025/0.001025, allocations: 92.34 kB / 0.751 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003724, allocations: 16 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3668, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9804/1.347, allocations: 364.6 MB / 1.344 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.348, allocations: 95.5 kB / 1.344 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02829/1.376, allocations: 10.85 MB / 1.355 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.474e-06/1.376, allocations: 3.938 kB / 1.355 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.264e-05/1.376, allocations: 4 kB / 1.355 GB, free: 14.77 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001164/1.377, allocations: 0.6131 MB / 1.356 GB, free: 14.11 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.377, allocations: 8.031 kB / 1.356 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/1.377, allocations: 23.72 kB / 1.356 GB, free: 14.07 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/1.378, allocations: 277.9 kB / 1.356 GB, free: 13.77 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/1.378, allocations: 13.03 kB / 1.356 GB, free: 13.76 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/1.378, allocations: 4 kB / 1.356 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/1.378, allocations: 191.4 kB / 1.356 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/1.379, allocations: 0 / 1.356 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/1.379, allocations: 10.41 kB / 1.356 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/1.379, allocations: 0 / 1.356 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/1.379, allocations: 233 kB / 1.356 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009446/1.38, allocations: 496.8 kB / 1.357 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/1.381, allocations: 146.5 kB / 1.357 GB, free: 12.64 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007147/1.381, allocations: 0.5103 MB / 1.358 GB, free: 12.02 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.381, allocations: 38.56 kB / 1.358 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/1.381, allocations: 1.25 kB / 1.358 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11): time 0.0012/1.383, allocations: 421.1 kB / 1.358 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/1.383, allocations: 51.41 kB / 1.358 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/1.383, allocations: 209.9 kB / 1.358 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/1.383, allocations: 29.7 kB / 1.358 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/1.383, allocations: 140 kB / 1.358 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/1.383, allocations: 35.45 kB / 1.358 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/1.383, allocations: 4 kB / 1.358 GB, free: 11.07 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.383, allocations: 330.8 kB / 1.359 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/1.384, allocations: 119.9 kB / 1.359 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/1.384, allocations: 121.3 kB / 1.359 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/1.384, allocations: 117.6 kB / 1.359 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.384, allocations: 0 / 1.359 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007563/1.385, allocations: 302.7 kB / 1.359 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.385, allocations: 5.25 kB / 1.359 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.385, allocations: 4 kB / 1.359 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/1.385, allocations: 0 / 1.359 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/1.386, allocations: 64.7 kB / 1.359 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.386, allocations: 4.703 kB / 1.359 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/1.386, allocations: 31.97 kB / 1.359 GB, free: 9.98 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/1.386, allocations: 3.984 kB / 1.359 GB, free: 9.977 MB / 0.9323 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 (11): * Single equations (assignments): 11 * 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.0001303/1.386, allocations: 131.6 kB / 1.36 GB, free: 9.84 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/1.386, allocations: 27.66 kB / 1.36 GB, free: 9.812 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008864/1.387, allocations: 328 kB / 1.36 GB, free: 9.488 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/1.387, allocations: 0 / 1.36 GB, free: 9.488 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/1.387, allocations: 4.578 kB / 1.36 GB, free: 9.484 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.387, allocations: 3.984 kB / 1.36 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/1.387, allocations: 269.5 kB / 1.36 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.387, allocations: 3.984 kB / 1.36 GB, free: 9.164 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/1.388, allocations: 59.7 kB / 1.36 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.388, allocations: 0 / 1.36 GB, free: 9.109 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/1.388, allocations: 3.984 kB / 1.36 GB, free: 9.105 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.388, allocations: 4 kB / 1.36 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/1.388, allocations: 0 / 1.36 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/1.388, allocations: 412.2 kB / 1.361 GB, free: 8.684 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/1.389, allocations: 113.3 kB / 1.361 GB, free: 8.555 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/1.389, allocations: 0 / 1.361 GB, free: 8.555 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/1.389, allocations: 31.97 kB / 1.361 GB, free: 8.523 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/1.389, allocations: 19.97 kB / 1.361 GB, free: 8.504 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/1.389, allocations: 9.109 kB / 1.361 GB, free: 8.496 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001525/1.389, allocations: 166 kB / 1.361 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/1.389, allocations: 0 / 1.361 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003576/1.39, allocations: 75.83 kB / 1.361 GB, free: 8.262 MB / 0.9323 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 (11): * Single equations (assignments): 11 * 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.0003425/1.39, allocations: 179 kB / 1.361 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007633/1.391, allocations: 255.8 kB / 1.361 GB, free: 7.824 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.391, allocations: 0 / 1.361 GB, free: 7.824 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/1.391, allocations: 143.8 kB / 1.362 GB, free: 7.684 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/1.391, allocations: 26.75 kB / 1.362 GB, free: 7.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008514/1.392, allocations: 495.2 kB / 1.362 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/1.393, allocations: 0.7394 MB / 1.363 GB, free: 6.391 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001833/1.393, allocations: 39.11 kB / 1.363 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/1.393, allocations: 15.42 kB / 1.363 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of SimCode: time 3.41e-07/1.393, allocations: 0 / 1.363 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of Templates: time 0.00641/1.399, allocations: 2.977 MB / 1.366 GB, free: 3.391 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)