Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001753/0.001753, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001982/0.001982, allocations: 219.2 kB / 23.02 MB, free: 2.953 MB / 13.93 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.699/1.699, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.657/3.657, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 MB / 0.6511 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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003853/0.003853, allocations: 71.89 kB / 1.177 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8988/0.9027, allocations: 180 MB / 1.353 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003079/0.9058, allocations: 1.514 MB / 1.354 GB, free: 96 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.907, allocations: 470.8 kB / 1.355 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.9071, allocations: 0 / 1.355 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.9071, allocations: 3.938 kB / 1.355 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.9072, allocations: 19.84 kB / 1.355 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.9075, allocations: 31.91 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.9076, allocations: 63.7 kB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.9077, allocations: 8 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.9079, allocations: 31.92 kB / 1.355 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.908, allocations: 15.92 kB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.908, allocations: 4 kB / 1.355 GB, free: 15.45 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.908, allocations: 19.92 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.9081, allocations: 7.984 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.9081, allocations: 19.86 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.9082, allocations: 46.64 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9082, allocations: 0 / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9082, allocations: 3.938 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.9082, allocations: 8 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005764/0.9088, allocations: 302 kB / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.9089, allocations: 16.88 kB / 1.355 GB, free: 15.01 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.9091, allocations: 20.88 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.9093, allocations: 123 kB / 1.356 GB, free: 14.85 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-06/0.9093, allocations: 384 / 1.356 GB, free: 14.85 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.9093, allocations: 12.36 kB / 1.356 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.9095, allocations: 57.98 kB / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.9095, allocations: 0 / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.9095, allocations: 0 / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.9095, allocations: 4 kB / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.9097, allocations: 35.97 kB / 1.356 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.91, allocations: 216.5 kB / 1.356 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.9102, allocations: 42.5 kB / 1.356 GB, free: 14.44 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.9103, allocations: 28.94 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.9103, allocations: 0 / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.9103, allocations: 34.56 kB / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of pre-optimization done (n=3): time 6.32e-07/0.9103, allocations: 0 / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0003237/0.9106, allocations: 93.53 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.9107, allocations: 55.41 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.9108, allocations: 121 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.9108, allocations: 25.7 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.9109, allocations: 96.06 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.9109, allocations: 15.89 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.911, allocations: 13.72 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.9111, allocations: 318.8 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.9112, allocations: 15.98 kB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.687e-05/0.9113, allocations: 15.98 kB / 1.357 GB, free: 13.56 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.9114, allocations: 40.83 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.9114, allocations: 7.875 kB / 1.357 GB, free: 13.51 MB / 1.042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001794/0.9116, allocations: 77.62 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.9116, allocations: 6.188 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9116, allocations: 0 / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.9116, allocations: 0 / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.9117, allocations: 15.92 kB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.9117, allocations: 0 / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.9118, allocations: 7.984 kB / 1.357 GB, free: 13.4 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.9118, allocations: 0 / 1.357 GB, free: 13.4 MB / 1.042 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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 9.792e-05/0.9119, allocations: 117.8 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.9119, allocations: 11.95 kB / 1.357 GB, free: 13.27 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.9119, allocations: 8 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9119, allocations: 0 / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9119, allocations: 0 / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.912, allocations: 4 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.9121, allocations: 117.6 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.9121, allocations: 0 / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.381e-05/0.9122, allocations: 11.94 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.9122, allocations: 3.984 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.9122, allocations: 0 / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.9122, allocations: 4 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9122, allocations: 4 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.9125, allocations: 175.4 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.9125, allocations: 7.984 kB / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.9125, allocations: 0 / 1.357 GB, free: 12.89 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.9126, allocations: 4 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.9126, allocations: 3.984 kB / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.9126, allocations: 0 / 1.357 GB, free: 12.88 MB / 1.042 GB Notification: Performance of sorting global known variables: time 7.433e-05/0.9127, allocations: 99.27 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.9127, allocations: 0 / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002125/0.9129, allocations: 15.95 kB / 1.357 GB, free: 12.77 MB / 1.042 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 (3): * Single equations (assignments): 3 * 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.0001269/0.913, allocations: 103.2 kB / 1.358 GB, free: 12.66 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001916/0.9132, allocations: 39.97 kB / 1.358 GB, free: 12.62 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9132, allocations: 0 / 1.358 GB, free: 12.62 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.9133, allocations: 19.98 kB / 1.358 GB, free: 12.6 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.9135, allocations: 11.86 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.914, allocations: 185.3 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.278e-05/0.914, allocations: 71.59 kB / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.9141, allocations: 0 / 1.358 GB, free: 12.29 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.9141, allocations: 15.42 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of SimCode: time 2.9e-07/0.9141, allocations: 0 / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of Templates: time 0.00306/0.9172, allocations: 0.4987 MB / 1.358 GB, free: 11.79 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.615562376566231]