Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.0008812/0.0008812, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009149/0.0009149, allocations: 161.4 kB / 24.17 MB, free: 328 kB / 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 0.9058/0.9058, allocations: 177.1 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 1.87/1.87, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7751 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.671e-05, allocations: 6.062 kB / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001431/0.001448, allocations: 0.912 MB / 0.776 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.002342, allocations: 0.9481 MB / 0.777 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.002394, allocations: 5.469 kB / 0.777 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.002424, allocations: 7.875 kB / 0.777 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.002515, allocations: 24.66 kB / 0.777 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.002709, allocations: 52.75 kB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.002822, allocations: 122.2 kB / 0.7772 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.283e-05/0.002915, allocations: 46.27 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.003072, allocations: 83.8 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.003144, allocations: 43.84 kB / 0.7773 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.003163, allocations: 12 kB / 0.7773 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.003202, allocations: 15.98 kB / 0.7774 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.112e-05/0.003223, allocations: 27.91 kB / 0.7774 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.003256, allocations: 35.91 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.003375, allocations: 87.59 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003377, allocations: 0 / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003378, allocations: 0 / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.00338, allocations: 2.5 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003278/0.003708, allocations: 316.4 kB / 0.7778 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.003737, allocations: 13.34 kB / 0.7778 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.003857, allocations: 32.91 kB / 0.7779 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.003973, allocations: 138.8 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.003983, allocations: 8.375 kB / 0.778 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.003997, allocations: 14.09 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.004103, allocations: 95.53 kB / 0.7781 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.004109, allocations: 192 / 0.7781 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.004118, allocations: 3.938 kB / 0.7781 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.004124, allocations: 0 / 0.7781 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.572e-05/0.00416, allocations: 23.03 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.004428, allocations: 240.5 kB / 0.7784 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.004535, allocations: 54.22 kB / 0.7784 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.184e-05/0.004557, allocations: 16.86 kB / 0.7784 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.004568, allocations: 4 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.004586, allocations: 34.5 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.004587, allocations: 0 / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001087/0.004696, allocations: 57.91 kB / 0.7785 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.004721, allocations: 51.41 kB / 0.7786 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.004786, allocations: 148.6 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.004803, allocations: 36.44 kB / 0.7787 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.004843, allocations: 116.1 kB / 0.7788 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.004861, allocations: 19.8 kB / 0.7789 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.004891, allocations: 29.69 kB / 0.7789 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.004958, allocations: 322.8 kB / 0.7792 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.004971, allocations: 4 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.004986, allocations: 11.94 kB / 0.7792 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.005019, allocations: 26.8 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.00502, allocations: 0 / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.426e-05/0.005085, allocations: 65.61 kB / 0.7793 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.005094, allocations: 4 kB / 0.7793 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.005098, allocations: 0 / 0.7793 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.005108, allocations: 0 / 0.7793 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.753e-05/0.005145, allocations: 12.8 kB / 0.7793 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.005149, allocations: 8 kB / 0.7793 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.708e-05/0.005176, allocations: 4.531 kB / 0.7793 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.005182, allocations: 4.938 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.656e-05/0.005238, allocations: 118.4 kB / 0.7794 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.005254, allocations: 8 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.005274, allocations: 13.66 kB / 0.7795 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.005277, allocations: 7.984 kB / 0.7795 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.005278, allocations: 1.438 kB / 0.7795 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.005282, allocations: 3.938 kB / 0.7795 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.018e-05/0.005372, allocations: 85.86 kB / 0.7796 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005374, allocations: 4 kB / 0.7796 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.005399, allocations: 16.64 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005401, allocations: 0.6875 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.005405, allocations: 0 / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.005407, allocations: 4.75 kB / 0.7796 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.005407, allocations: 0 / 0.7796 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.098e-05/0.005488, allocations: 156.4 kB / 0.7797 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-06/0.005497, allocations: 11.89 kB / 0.7798 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.005513, allocations: 4 kB / 0.7798 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.005553, allocations: 8.859 kB / 0.7798 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.005588, allocations: 15.97 kB / 0.7798 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.005591, allocations: 0.625 kB / 0.7798 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.178e-05/0.005613, allocations: 34.64 kB / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005613, allocations: 0.6875 kB / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001231/0.005736, allocations: 29.64 kB / 0.7798 GB, free: 500 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 6.437e-05/0.005801, allocations: 80.41 kB / 0.7799 GB, free: 408 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.407e-05/0.005865, allocations: 32.78 kB / 0.7799 GB, free: 372 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.005867, allocations: 8.656 kB / 0.78 GB, free: 364 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.005889, allocations: 16.86 kB / 0.78 GB, free: 344 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.006014, allocations: 12.92 kB / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.006424, allocations: 234.1 kB / 0.7802 GB, free: 72 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.006467, allocations: 67.28 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.262e-05/0.006499, allocations: 13.84 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.006551, allocations: 60.42 kB / 0.7803 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.006551, allocations: 0 / 0.7803 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.002376/0.008927, allocations: 1.106 MB / 0.7814 GB, free: 14.86 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.800851052161306]