Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.000933/0.000933, allocations: 80.81 kB / 21.54 MB, free: 2.953 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.001259/0.001259, allocations: 162.1 kB / 24.96 MB, free: 8.746 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 0.9272/0.9272, allocations: 177.1 MB / 205.4 MB, free: 4.484 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.944/1.944, allocations: 389.6 MB / 0.6361 GB, free: 13.39 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.7761 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.587e-05, allocations: 2.312 kB / 0.7761 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001576/0.001602, allocations: 0.9171 MB / 0.777 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.002962, allocations: 1.225 MB / 0.7781 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.003018, allocations: 4 kB / 0.7782 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.003054, allocations: 7.875 kB / 0.7782 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.003139, allocations: 19.73 kB / 0.7782 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.003542, allocations: 151.5 kB / 0.7783 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.003714, allocations: 167.6 kB / 0.7785 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003817, allocations: 33.94 kB / 0.7785 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.003948, allocations: 103.8 kB / 0.7786 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.193e-05/0.004039, allocations: 47.86 kB / 0.7787 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.004062, allocations: 12 kB / 0.7787 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.004132, allocations: 19.98 kB / 0.7787 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.874e-05/0.00416, allocations: 27.91 kB / 0.7787 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.004203, allocations: 39.91 kB / 0.7788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.004364, allocations: 123.5 kB / 0.7789 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.004366, allocations: 0 / 0.7789 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004366, allocations: 4 kB / 0.7789 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.00437, allocations: 0 / 0.7789 GB, free: 10.98 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004773/0.004848, allocations: 362.1 kB / 0.7792 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.004879, allocations: 8.031 kB / 0.7792 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.004917, allocations: 16.92 kB / 0.7792 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.005071, allocations: 160.4 kB / 0.7794 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.005082, allocations: 4.375 kB / 0.7794 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.005107, allocations: 20.33 kB / 0.7794 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.005232, allocations: 86.91 kB / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.00524, allocations: 192 / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.005248, allocations: 384 / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005255, allocations: 4.375 kB / 0.7795 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.316e-05/0.005278, allocations: 15.92 kB / 0.7795 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.005658, allocations: 220.1 kB / 0.7797 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.095e-05/0.005699, allocations: 30.48 kB / 0.7798 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.005714, allocations: 12.86 kB / 0.7798 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.00573, allocations: 0 / 0.7798 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.417e-05/0.005824, allocations: 91.36 kB / 0.7799 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.005825, allocations: 3.938 kB / 0.7799 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001279/0.005953, allocations: 69.61 kB / 0.7799 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.00599, allocations: 59.39 kB / 0.78 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.006065, allocations: 142.6 kB / 0.7801 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.006082, allocations: 25.7 kB / 0.7802 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.00613, allocations: 112.1 kB / 0.7803 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.006148, allocations: 35.72 kB / 0.7803 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/0.006195, allocations: 37.69 kB / 0.7803 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.006276, allocations: 330.8 kB / 0.7806 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.006322, allocations: 57.67 kB / 0.7807 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.006406, allocations: 140.8 kB / 0.7808 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.006513, allocations: 168.7 kB / 0.781 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.006516, allocations: 3.938 kB / 0.781 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001597/0.006676, allocations: 201.1 kB / 0.7812 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.006703, allocations: 41.72 kB / 0.7812 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.006709, allocations: 4 kB / 0.7812 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.006723, allocations: 4 kB / 0.7812 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.00679, allocations: 27.92 kB / 0.7813 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.006796, allocations: 4 kB / 0.7813 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.006887, allocations: 27.92 kB / 0.7813 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.006902, allocations: 12 kB / 0.7813 GB, free: 8.207 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 7.852e-05/0.00698, allocations: 137.4 kB / 0.7814 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.006991, allocations: 12 kB / 0.7814 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.007024, allocations: 12.77 kB / 0.7815 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.007028, allocations: 4 kB / 0.7815 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.00703, allocations: 0 / 0.7815 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.007034, allocations: 0 / 0.7815 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.007272, allocations: 238.7 kB / 0.7817 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.007274, allocations: 0 / 0.7817 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.007323, allocations: 15.92 kB / 0.7817 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.007325, allocations: 4 kB / 0.7817 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.007334, allocations: 4 kB / 0.7817 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007336, allocations: 4 kB / 0.7817 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007337, allocations: 0 / 0.7817 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.007465, allocations: 183.4 kB / 0.7819 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.007475, allocations: 11.89 kB / 0.7819 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.007487, allocations: 7.938 kB / 0.7819 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.007521, allocations: 0 / 0.7819 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.007552, allocations: 11.98 kB / 0.7819 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.007557, allocations: 3.984 kB / 0.7819 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.912e-05/0.007576, allocations: 32.61 kB / 0.782 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007576, allocations: 0 / 0.782 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001624/0.007738, allocations: 31.94 kB / 0.782 GB, free: 7.461 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.904e-05/0.007837, allocations: 96.41 kB / 0.7821 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000156/0.007994, allocations: 165.8 kB / 0.7822 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.007997, allocations: 0 / 0.7822 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.008029, allocations: 32.77 kB / 0.7823 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.008167, allocations: 29.28 kB / 0.7823 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.008515, allocations: 260.6 kB / 0.7825 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.572e-05/0.00855, allocations: 63.84 kB / 0.7826 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.008591, allocations: 20.42 kB / 0.7826 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.386e-05/0.008675, allocations: 79.36 kB / 0.7827 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.008676, allocations: 0 / 0.7827 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of Templates: time 0.003442/0.01212, allocations: 1.844 MB / 0.7845 GB, free: 4.824 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.771118737757206]