Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, 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.00102/0.00102, allocations: 186.6 kB / 327.6 MB, free: 2.145 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.493/1.493, 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.0007447/0.0007447, allocations: 87.45 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003353, allocations: 12.34 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1643, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.673/0.8374, allocations: 356.1 MB / 1.249 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.8376, allocations: 96.31 kB / 1.249 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02505/0.8627, allocations: 10.66 MB / 1.259 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8627, allocations: 0 / 1.259 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.8627, allocations: 7.938 kB / 1.259 GB, free: 1.273 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001037/0.8638, allocations: 0.602 MB / 1.26 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.8638, allocations: 12.03 kB / 1.26 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.8639, allocations: 28.56 kB / 1.26 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.8645, allocations: 294.5 kB / 1.26 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.8645, allocations: 3.812 kB / 1.26 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.8646, allocations: 8.375 kB / 1.26 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.865, allocations: 188 kB / 1.261 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.865, allocations: 192 / 1.261 GB, free: 112 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.8651, allocations: 11.5 kB / 1.261 GB, free: 104 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8651, allocations: 4 kB / 1.261 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.8657, allocations: 237 kB / 1.261 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.8665, allocations: 495.9 kB / 1.261 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.8668, allocations: 143.8 kB / 1.261 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.8672, allocations: 134.4 kB / 1.262 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/0.8678, allocations: 0.5177 MB / 1.262 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.8678, allocations: 30.56 kB / 1.262 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.8678, allocations: 0 / 1.262 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.001045/0.8688, allocations: 419 kB / 1.263 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.8689, allocations: 55.39 kB / 1.263 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.8691, allocations: 229.5 kB / 1.263 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.8691, allocations: 29.14 kB / 1.263 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.171e-05/0.8692, allocations: 142.6 kB / 1.263 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.8692, allocations: 38.77 kB / 1.263 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.8693, allocations: 7.938 kB / 1.263 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.8694, allocations: 330.3 kB / 1.263 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.8697, allocations: 116.8 kB / 1.263 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.87, allocations: 118.2 kB / 1.264 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.8705, allocations: 248.8 kB / 1.264 GB, free: 13 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.8706, allocations: 0 / 1.264 GB, free: 13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006714/0.8712, allocations: 291.4 kB / 1.264 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.8713, allocations: 4 kB / 1.264 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8713, allocations: 4 kB / 1.264 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.8713, allocations: 4 kB / 1.264 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.8716, allocations: 55.88 kB / 1.264 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.8716, allocations: 0 / 1.264 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.8718, allocations: 51.44 kB / 1.264 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.8718, allocations: 8.547 kB / 1.264 GB, free: 12.63 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 (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.0001037/0.8719, allocations: 120.8 kB / 1.264 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.872, allocations: 23.72 kB / 1.264 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00076/0.8728, allocations: 336.9 kB / 1.265 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.8728, allocations: 4 kB / 1.265 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8728, allocations: 3.938 kB / 1.265 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.8728, allocations: 0 / 1.265 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/0.8731, allocations: 272.5 kB / 1.265 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8731, allocations: 0 / 1.265 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.8733, allocations: 63.89 kB / 1.265 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.8734, allocations: 0 / 1.265 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.8734, allocations: 3.984 kB / 1.265 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8734, allocations: 0 / 1.265 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8734, allocations: 4 kB / 1.265 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000707/0.8741, allocations: 401.6 kB / 1.265 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-05/0.8742, allocations: 116.1 kB / 1.265 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.8742, allocations: 0 / 1.265 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.8745, allocations: 43.89 kB / 1.265 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.8745, allocations: 7.984 kB / 1.266 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.8746, allocations: 11.8 kB / 1.266 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001192/0.8747, allocations: 166.3 kB / 1.266 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8747, allocations: 4 kB / 1.266 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000314/0.875, allocations: 74.42 kB / 1.266 GB, free: 11.09 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 (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.0002676/0.8753, allocations: 179.1 kB / 1.266 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006885/0.876, allocations: 262 kB / 1.266 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.876, allocations: 0 / 1.266 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.8764, allocations: 140.1 kB / 1.266 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.8767, allocations: 28.17 kB / 1.266 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000741/0.8774, allocations: 498.9 kB / 1.267 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.8777, allocations: 0.7316 MB / 1.268 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001899/0.8779, allocations: 40.78 kB / 1.268 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.878, allocations: 23.36 kB / 1.268 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of SimCode: time 2.21e-07/0.878, allocations: 0 / 1.268 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of Templates: time 0.005517/0.8835, allocations: 3.009 MB / 1.271 GB, free: 6.281 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)