Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002533/0.002533, allocations: 80.45 kB / 19.95 MB, free: 4.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003098/0.003098, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.089/3.089, allocations: 389.5 MB / 0.6343 GB, free: 12.63 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.881e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.007675/0.007703, allocations: 2.005 MB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01707/0.02477, allocations: 3.892 MB / 1.007 GB, free: 7.113 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.02493, allocations: 4 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.02597, allocations: 187 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.02619, allocations: 83.22 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.03028, allocations: 299.2 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0009327/0.03121, allocations: 402.7 kB / 1.008 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.03134, allocations: 32.58 kB / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.03168, allocations: 155.6 kB / 1.008 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.03192, allocations: 103.7 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.706e-05/0.03198, allocations: 16 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008138/0.03279, allocations: 311.5 kB / 1.008 GB, free: 5.555 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.03297, allocations: 111.7 kB / 1.009 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.03315, allocations: 91.7 kB / 1.009 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.03426, allocations: 0.5764 MB / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.03427, allocations: 0 / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.142e-06/0.03427, allocations: 0 / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.03427, allocations: 0 / 1.009 GB, free: 4.777 MB / 0.9636 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.001858/0.03613, allocations: 0.6924 MB / 1.01 GB, free: 4.047 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.03617, allocations: 9.344 kB / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.03764, allocations: 164.5 kB / 1.01 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.0385, allocations: 299.8 kB / 1.01 GB, free: 3.562 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.03852, allocations: 8.375 kB / 1.01 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.03856, allocations: 8.375 kB / 1.01 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.03934, allocations: 212.1 kB / 1.01 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.03935, allocations: 192 / 1.01 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.03938, allocations: 8.125 kB / 1.011 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.03939, allocations: 4 kB / 1.011 GB, free: 3.324 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.04051, allocations: 251.8 kB / 1.011 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.04204, allocations: 0.5234 MB / 1.011 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/0.04293, allocations: 170.5 kB / 1.011 GB, free: 2.348 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.04353, allocations: 144.7 kB / 1.012 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.882e-05/0.0436, allocations: 19.98 kB / 1.012 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.04364, allocations: 34.56 kB / 1.012 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.04365, allocations: 0 / 1.012 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.001979/0.04563, allocations: 465.5 kB / 1.012 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.04568, allocations: 55.41 kB / 1.012 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007114/0.0464, allocations: 413.9 kB / 1.013 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.04644, allocations: 25.7 kB / 1.013 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.04666, allocations: 191.9 kB / 1.013 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.723e-05/0.04673, allocations: 35.69 kB / 1.013 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.04686, allocations: 45.69 kB / 1.013 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.04708, allocations: 354.7 kB / 1.013 GB, free: 0.5352 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.04775, allocations: 217.5 kB / 1.013 GB, free: 324 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.04845, allocations: 221.6 kB / 1.014 GB, free: 96 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.04977, allocations: 376.5 kB / 1.014 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.04977, allocations: 0 / 1.014 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001375/0.05115, allocations: 0.5291 MB / 1.014 GB, free: 15.17 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.05121, allocations: 37.69 kB / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.05122, allocations: 4 kB / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.05123, allocations: 4 kB / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.05163, allocations: 51.88 kB / 1.015 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.05164, allocations: 3.984 kB / 1.015 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.05195, allocations: 43.8 kB / 1.015 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.05197, allocations: 4 kB / 1.015 GB, free: 15.02 MB / 0.9792 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.0522, allocations: 157.8 kB / 1.015 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/0.05228, allocations: 43.77 kB / 1.015 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.05341, allocations: 373.3 kB / 1.015 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.05342, allocations: 7.922 kB / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.05342, allocations: 0 / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.05343, allocations: 0 / 1.015 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.05383, allocations: 273 kB / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.05383, allocations: 0 / 1.015 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003486/0.05418, allocations: 51.94 kB / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.05418, allocations: 0 / 1.015 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.05421, allocations: 7.984 kB / 1.015 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.05421, allocations: 0 / 1.015 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.05421, allocations: 4 kB / 1.015 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009996/0.05521, allocations: 443 kB / 1.016 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.05534, allocations: 55.67 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.05538, allocations: 4 kB / 1.016 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.05567, allocations: 27.95 kB / 1.016 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.05575, allocations: 15.97 kB / 1.016 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.05577, allocations: 4 kB / 1.016 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000389/0.05616, allocations: 299.1 kB / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.05616, allocations: 0 / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004796/0.05664, allocations: 115.8 kB / 1.016 GB, free: 13.12 MB / 0.9792 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004163/0.05706, allocations: 183.1 kB / 1.017 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.05818, allocations: 472.8 kB / 1.017 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.05818, allocations: 7.938 kB / 1.017 GB, free: 12.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.05861, allocations: 139.9 kB / 1.017 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.0591, allocations: 72.55 kB / 1.017 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.06031, allocations: 0.6218 MB / 1.018 GB, free: 11.58 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.06052, allocations: 183.2 kB / 1.018 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.06076, allocations: 57.92 kB / 1.018 GB, free: 11.33 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.06086, allocations: 28.47 kB / 1.018 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of SimCode: time 5.01e-07/0.06086, allocations: 0 / 1.018 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.01109/0.07194, allocations: 5.203 MB / 1.023 GB, free: 6.195 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.825068433769047]