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.0009543/0.0009543, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009424/0.0009424, allocations: 172.9 kB / 25.18 MB, free: 8.84 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.8737/0.8737, allocations: 177.1 MB / 205.6 MB, free: 4.375 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.912/1.912, allocations: 389.6 MB / 0.6364 GB, free: 13.3 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.324e-06/2.324e-06, allocations: 0 / 0.7756 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.715e-05, allocations: 5.828 kB / 0.7756 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002334/0.002361, allocations: 0.9132 MB / 0.7765 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.004044, allocations: 1.224 MB / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.004127, allocations: 0 / 0.7777 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.923e-05/0.004176, allocations: 7.875 kB / 0.7777 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.004287, allocations: 31.72 kB / 0.7778 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.004806, allocations: 143.5 kB / 0.7779 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.005061, allocations: 167.6 kB / 0.7781 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.005184, allocations: 29.94 kB / 0.7781 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.005366, allocations: 103.7 kB / 0.7782 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.005479, allocations: 47.84 kB / 0.7782 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.005509, allocations: 12 kB / 0.7782 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.679e-05/0.005596, allocations: 24 kB / 0.7783 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.005628, allocations: 19.92 kB / 0.7783 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.00569, allocations: 47.89 kB / 0.7783 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.005891, allocations: 119.6 kB / 0.7784 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005893, allocations: 3.938 kB / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.005894, allocations: 4 kB / 0.7784 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.005898, allocations: 0 / 0.7784 GB, free: 11.59 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.0005598/0.006458, allocations: 354.1 kB / 0.7788 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.006494, allocations: 8.031 kB / 0.7788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.006542, allocations: 20.91 kB / 0.7788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.006723, allocations: 141.7 kB / 0.7789 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.006741, allocations: 8.375 kB / 0.779 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.006776, allocations: 24.27 kB / 0.779 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.00693, allocations: 82.84 kB / 0.7791 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.006938, allocations: 192 / 0.7791 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.00695, allocations: 8.359 kB / 0.7791 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.006956, allocations: 4.375 kB / 0.7791 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.006991, allocations: 19.92 kB / 0.7791 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.007474, allocations: 224 kB / 0.7793 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.142e-05/0.007526, allocations: 30.52 kB / 0.7793 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.007547, allocations: 12.86 kB / 0.7793 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.007562, allocations: 0 / 0.7793 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.007674, allocations: 87.36 kB / 0.7794 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.173e-06/0.007675, allocations: 0 / 0.7794 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0001624/0.007837, allocations: 77.59 kB / 0.7795 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.007877, allocations: 55.41 kB / 0.7796 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.007976, allocations: 146.1 kB / 0.7797 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.008001, allocations: 33.7 kB / 0.7797 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.008065, allocations: 104 kB / 0.7798 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.008088, allocations: 31.88 kB / 0.7799 GB, free: 10 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.683e-05/0.008164, allocations: 49.67 kB / 0.7799 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.008263, allocations: 322.8 kB / 0.7802 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/0.008334, allocations: 53.69 kB / 0.7803 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.008448, allocations: 140.8 kB / 0.7804 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.008623, allocations: 164.7 kB / 0.7806 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.008627, allocations: 3.938 kB / 0.7806 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002465/0.008874, allocations: 212.7 kB / 0.7808 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.008917, allocations: 41.69 kB / 0.7808 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.008925, allocations: 4 kB / 0.7808 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008938, allocations: 7.938 kB / 0.7808 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.009036, allocations: 23.92 kB / 0.7808 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.009042, allocations: 4 kB / 0.7808 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.009181, allocations: 44.23 kB / 0.7809 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.009203, allocations: 8 kB / 0.7809 GB, free: 8.809 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 8.52e-05/0.009288, allocations: 121.7 kB / 0.781 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.009308, allocations: 11.98 kB / 0.781 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.00934, allocations: 16.78 kB / 0.781 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.009342, allocations: 0 / 0.781 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.009345, allocations: 0 / 0.781 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.00935, allocations: 3.984 kB / 0.781 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.009778, allocations: 238.7 kB / 0.7813 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.00978, allocations: 0 / 0.7813 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.009839, allocations: 16 kB / 0.7813 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.009842, allocations: 0 / 0.7813 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.009853, allocations: 3.984 kB / 0.7813 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.009857, allocations: 4 kB / 0.7813 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.009861, allocations: 3.938 kB / 0.7813 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.01004, allocations: 183.4 kB / 0.7815 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.29e-05/0.01005, allocations: 7.891 kB / 0.7815 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01007, allocations: 7.984 kB / 0.7815 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.01013, allocations: 4 kB / 0.7815 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.01016, allocations: 11.92 kB / 0.7815 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.01017, allocations: 8 kB / 0.7815 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.0102, allocations: 32.81 kB / 0.7815 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0102, allocations: 0 / 0.7815 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002774/0.01048, allocations: 28 kB / 0.7816 GB, free: 8.066 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 0.0001415/0.01062, allocations: 84.41 kB / 0.7816 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002049/0.01083, allocations: 166.3 kB / 0.7818 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.01084, allocations: 8.25 kB / 0.7818 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01094, allocations: 28.78 kB / 0.7818 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.01115, allocations: 32.52 kB / 0.7819 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004589/0.01161, allocations: 281.1 kB / 0.7821 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.196e-05/0.01167, allocations: 93.81 kB / 0.7822 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.01177, allocations: 79.34 kB / 0.7823 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of SimCode: time 1.132e-06/0.01177, allocations: 7.875 kB / 0.7823 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of Templates: time 0.00213/0.0139, allocations: 1.765 MB / 0.784 GB, free: 5.457 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 > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.5410856660455465]