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.00116/0.00116, allocations: 84.8 kB / 20.75 MB, free: 3.742 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.001284/0.001284, allocations: 161 kB / 24.16 MB, free: 340 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 1.063/1.063, allocations: 177.1 MB / 204.6 MB, free: 5.492 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 2.064/2.064, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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 1.984e-06/1.984e-06, allocations: 0 / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.837e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002229/0.002257, allocations: 0.923 MB / 0.7762 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.003799, allocations: 1.221 MB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.003867, allocations: 2.031 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.003901, allocations: 7.875 kB / 0.7774 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.581e-05/0.003997, allocations: 25.55 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.004483, allocations: 151.5 kB / 0.7775 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.004701, allocations: 166.7 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.004814, allocations: 39.33 kB / 0.7777 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.004977, allocations: 103.7 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.005089, allocations: 43.88 kB / 0.7779 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.081e-05/0.005119, allocations: 17.05 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.005204, allocations: 23.98 kB / 0.7779 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.005231, allocations: 16.42 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.648e-05/0.005287, allocations: 51.89 kB / 0.778 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.005481, allocations: 124.2 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.005483, allocations: 0 / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.203e-06/0.005484, allocations: 2.062 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.00549, allocations: 0 / 0.7781 GB, free: 2.43 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005252/0.006015, allocations: 358.2 kB / 0.7784 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.006054, allocations: 13.34 kB / 0.7785 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.006106, allocations: 15.67 kB / 0.7785 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.006283, allocations: 146.6 kB / 0.7786 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.006299, allocations: 12.38 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.006326, allocations: 12.31 kB / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.00647, allocations: 82.91 kB / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.006478, allocations: 192 / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.006487, allocations: 7.375 kB / 0.7787 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.006492, allocations: 384 / 0.7787 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.006525, allocations: 23.92 kB / 0.7788 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.006976, allocations: 232 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.084e-05/0.007027, allocations: 22.52 kB / 0.779 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.767e-05/0.007044, allocations: 8.859 kB / 0.779 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.00706, allocations: 4 kB / 0.779 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.007178, allocations: 89.05 kB / 0.7791 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.007179, allocations: 0 / 0.7791 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001499/0.007329, allocations: 77.59 kB / 0.7792 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.007358, allocations: 52.62 kB / 0.7792 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.007447, allocations: 144.9 kB / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.00747, allocations: 33.69 kB / 0.7794 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.007522, allocations: 108.8 kB / 0.7795 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.007546, allocations: 35.72 kB / 0.7795 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/0.00761, allocations: 42.8 kB / 0.7796 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.007695, allocations: 330.8 kB / 0.7799 GB, free: 480 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.007757, allocations: 49.69 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.535e-05/0.007852, allocations: 141.6 kB / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.007996, allocations: 160.7 kB / 0.7802 GB, free: 32 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.008001, allocations: 8.812 kB / 0.7802 GB, free: 24 kB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002408/0.008242, allocations: 215.1 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.008273, allocations: 33.7 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.008279, allocations: 5.25 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.008293, allocations: 4 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.008378, allocations: 27.92 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.008385, allocations: 8.891 kB / 0.7805 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.008509, allocations: 24.47 kB / 0.7805 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.00853, allocations: 15.98 kB / 0.7805 GB, free: 15.68 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.211e-05/0.008612, allocations: 131.4 kB / 0.7807 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.008627, allocations: 7.984 kB / 0.7807 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.008657, allocations: 16.78 kB / 0.7807 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.00866, allocations: 5.531 kB / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008663, allocations: 4 kB / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.008666, allocations: 0 / 0.7807 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.008942, allocations: 234.7 kB / 0.7809 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008944, allocations: 1.031 kB / 0.7809 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.009003, allocations: 15.98 kB / 0.7809 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009006, allocations: 1.062 kB / 0.7809 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.009015, allocations: 4 kB / 0.7809 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009016, allocations: 0 / 0.7809 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.009019, allocations: 5.156 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.009167, allocations: 179.4 kB / 0.7811 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.187e-05/0.009179, allocations: 11.91 kB / 0.7811 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.009192, allocations: 1.031 kB / 0.7811 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.009254, allocations: 11.98 kB / 0.7811 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.009285, allocations: 11.92 kB / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.009291, allocations: 1.312 kB / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.009321, allocations: 34.55 kB / 0.7812 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009321, allocations: 0 / 0.7812 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002555/0.009576, allocations: 28.97 kB / 0.7812 GB, free: 14.94 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.0001287/0.009705, allocations: 89.97 kB / 0.7813 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.009897, allocations: 163.2 kB / 0.7815 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.009903, allocations: 4 kB / 0.7815 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.009945, allocations: 28.78 kB / 0.7815 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.01015, allocations: 30.34 kB / 0.7815 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.01055, allocations: 261.5 kB / 0.7818 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.283e-05/0.0106, allocations: 63.84 kB / 0.7818 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.046e-05/0.01065, allocations: 17.61 kB / 0.7818 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.01075, allocations: 87.27 kB / 0.7819 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.01075, allocations: 0 / 0.7819 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.004368/0.01512, allocations: 1.856 MB / 0.7837 GB, free: 12.41 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.203722009900957]