Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.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.001084/0.001084, allocations: 92.22 kB / 20.46 MB, free: 4.109 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.001109/0.001109, allocations: 157 kB / 23.82 MB, free: 0.7461 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 1.022/1.022, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5996/0.5996, allocations: 110.2 MB / 371 MB, free: 12.54 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 475.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.734e-05, allocations: 4.859 kB / 475.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001921/0.001948, allocations: 1.482 MB / 476.6 MB, free: 14.24 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006104/0.002558, allocations: 468 kB / 477.1 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.002597, allocations: 3.719 kB / 477.1 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.002627, allocations: 3.938 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.002709, allocations: 5.062 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.002868, allocations: 23.7 kB / 477.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.00297, allocations: 52.83 kB / 477.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.00306, allocations: 10.25 kB / 477.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.003138, allocations: 30.83 kB / 477.2 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.003202, allocations: 16.17 kB / 477.2 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.003223, allocations: 2.625 kB / 477.2 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.003233, allocations: 5.25 kB / 477.2 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.003257, allocations: 8.375 kB / 477.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.003302, allocations: 15.86 kB / 477.2 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003414, allocations: 36.27 kB / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.003416, allocations: 1 kB / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003417, allocations: 0 / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.003422, allocations: 0 / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004605/0.003882, allocations: 424.4 kB / 477.7 MB, free: 13.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.003922, allocations: 7.875 kB / 477.7 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.003965, allocations: 6.688 kB / 477.7 MB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.944e-05/0.004045, allocations: 121.2 kB / 477.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.004057, allocations: 1.844 kB / 477.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.004071, allocations: 5.625 kB / 477.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.742e-05/0.004169, allocations: 77.34 kB / 477.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.00418, allocations: 192 / 477.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.00419, allocations: 0.9062 kB / 477.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.004199, allocations: 5.344 kB / 477.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.2e-05/0.004241, allocations: 43.44 kB / 478 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.004552, allocations: 257.7 kB / 478.2 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.68e-05/0.004619, allocations: 71.16 kB / 478.3 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.004648, allocations: 47.52 kB / 478.3 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.004668, allocations: 0 / 478.3 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/0.004777, allocations: 129.1 kB / 478.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.004778, allocations: 2.625 kB / 478.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002313/0.00501, allocations: 199.9 kB / 478.7 MB, free: 12.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.00504, allocations: 78.2 kB / 478.7 MB, free: 12.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.005354, allocations: 175.8 kB / 478.9 MB, free: 28.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.005364, allocations: 29.7 kB / 478.9 MB, free: 28.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.00541, allocations: 135.9 kB / 479.1 MB, free: 28.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.005426, allocations: 18.69 kB / 479.1 MB, free: 28.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.005459, allocations: 31.02 kB / 479.1 MB, free: 28.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.00557, allocations: 0.4906 MB / 479.6 MB, free: 27.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.005599, allocations: 43.67 kB / 479.6 MB, free: 27.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.828e-05/0.005637, allocations: 76.58 kB / 479.7 MB, free: 27.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.308e-05/0.0057, allocations: 106.4 kB / 479.8 MB, free: 27.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005702, allocations: 1.125 kB / 479.8 MB, free: 27.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001137/0.005816, allocations: 160.2 kB / 480 MB, free: 27.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.005844, allocations: 40.02 kB / 480 MB, free: 27.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.00585, allocations: 0 / 480 MB, free: 27.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.005866, allocations: 0 / 480 MB, free: 27.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.811e-05/0.005915, allocations: 9.188 kB / 480 MB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.005921, allocations: 2.625 kB / 480 MB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.00596, allocations: 4.375 kB / 480 MB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005965, allocations: 2.375 kB / 480 MB, free: 27.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.811e-05/0.006043, allocations: 197.8 kB / 480.2 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.006058, allocations: 19.77 kB / 480.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.006083, allocations: 5.375 kB / 480.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.006086, allocations: 5.75 kB / 480.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.006091, allocations: 0 / 480.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.006095, allocations: 0.6562 kB / 480.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.006364, allocations: 414.7 kB / 480.7 MB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.006367, allocations: 4.875 kB / 480.7 MB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-06/0.006371, allocations: 3.938 kB / 480.7 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.006373, allocations: 1.906 kB / 480.7 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.006383, allocations: 6.125 kB / 480.7 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.006384, allocations: 0 / 480.7 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006385, allocations: 0 / 480.7 MB, free: 26.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.006532, allocations: 316.8 kB / 481 MB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-06/0.006541, allocations: 5.5 kB / 481 MB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.006558, allocations: 6.656 kB / 481 MB, free: 26.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.77e-05/0.006606, allocations: 6.906 kB / 481 MB, free: 26.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.006649, allocations: 6.047 kB / 481 MB, free: 26.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.006662, allocations: 12.53 kB / 481 MB, free: 26.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.006702, allocations: 128.9 kB / 481.2 MB, free: 26.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006702, allocations: 0 / 481.2 MB, free: 26.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001517/0.006854, allocations: 14.34 kB / 481.2 MB, free: 26.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.263e-05/0.006946, allocations: 107.8 kB / 481.3 MB, free: 26.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001576/0.007104, allocations: 166.2 kB / 481.4 MB, free: 25.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.007105, allocations: 0 / 481.4 MB, free: 25.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.007165, allocations: 115.5 kB / 481.6 MB, free: 25.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.007374, allocations: 18.61 kB / 481.6 MB, free: 25.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.007674, allocations: 179.4 kB / 481.7 MB, free: 25.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.66e-05/0.007711, allocations: 65.89 kB / 481.8 MB, free: 25.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.69e-05/0.007738, allocations: 8.031 kB / 481.8 MB, free: 25.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.007768, allocations: 15.06 kB / 481.8 MB, free: 25.55 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.007769, allocations: 0 / 481.8 MB, free: 25.55 MB / 426.7 MB Notification: Performance of Templates: time 0.002596/0.01037, allocations: 0.9451 MB / 482.8 MB, free: 25.46 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4893430448137224]