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.0008983/0.0008983, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.0009449/0.0009449, allocations: 177 kB / 24.09 MB, free: 420 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.9404/0.9404, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.5855/0.5855, allocations: 110.3 MB / 371.3 MB, free: 12.38 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.173e-06/1.173e-06, allocations: 1.094 kB / 475.6 MB, free: 15.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.156e-05, allocations: 3.719 kB / 475.6 MB, free: 15.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001371/0.001383, allocations: 1.484 MB / 477.1 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000474/0.001857, allocations: 461.9 kB / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.001891, allocations: 0 / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.001912, allocations: 3.938 kB / 477.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/0.001979, allocations: 15.3 kB / 477.5 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.002089, allocations: 17.23 kB / 477.6 MB, free: 13.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.002166, allocations: 55.3 kB / 477.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.00223, allocations: 5.25 kB / 477.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.476e-05/0.002295, allocations: 33.27 kB / 477.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.002344, allocations: 16.66 kB / 477.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.002359, allocations: 2.625 kB / 477.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.226e-06/0.002367, allocations: 5.875 kB / 477.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.002386, allocations: 11.36 kB / 477.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.002409, allocations: 12.66 kB / 477.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.638e-05/0.002485, allocations: 40.44 kB / 477.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002487, allocations: 0.6875 kB / 477.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002488, allocations: 0 / 477.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.002491, allocations: 1.75 kB / 477.7 MB, free: 13.69 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.0003122/0.002803, allocations: 418.4 kB / 478.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.002834, allocations: 10.47 kB / 478.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.00286, allocations: 6.906 kB / 478.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.808e-05/0.002908, allocations: 122.8 kB / 478.3 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.002917, allocations: 4.75 kB / 478.3 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.002924, allocations: 3.156 kB / 478.3 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.693e-05/0.002991, allocations: 73.33 kB / 478.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.002997, allocations: 192 / 478.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-06/0.003002, allocations: 384 / 478.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.003007, allocations: 4.594 kB / 478.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.00303, allocations: 37.33 kB / 478.4 MB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.003212, allocations: 245.9 kB / 478.6 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.198e-05/0.003254, allocations: 65.47 kB / 478.7 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.654e-05/0.003271, allocations: 42.11 kB / 478.8 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.003288, allocations: 5.875 kB / 478.8 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.398e-05/0.003362, allocations: 127.6 kB / 478.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.003363, allocations: 0 / 478.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001574/0.00352, allocations: 194.2 kB / 479.1 MB, free: 12.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.00354, allocations: 80.08 kB / 479.2 MB, free: 12.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.003709, allocations: 167 kB / 479.3 MB, free: 28.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.003716, allocations: 35.23 kB / 479.3 MB, free: 28.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.003752, allocations: 134.4 kB / 479.5 MB, free: 27.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.003764, allocations: 22.58 kB / 479.5 MB, free: 27.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.003791, allocations: 35.98 kB / 479.5 MB, free: 27.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.108e-05/0.003882, allocations: 0.4906 MB / 480 MB, free: 27.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.003898, allocations: 32.3 kB / 480.1 MB, free: 27.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.003923, allocations: 75.98 kB / 480.1 MB, free: 27.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.209e-05/0.003965, allocations: 106 kB / 480.2 MB, free: 27.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.003966, allocations: 0.9062 kB / 480.2 MB, free: 27.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.312e-05/0.00405, allocations: 157.2 kB / 480.4 MB, free: 27.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.004072, allocations: 35.17 kB / 480.4 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004077, allocations: 2.844 kB / 480.4 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.004086, allocations: 4.188 kB / 480.4 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.882e-05/0.004115, allocations: 5.125 kB / 480.4 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.004118, allocations: 0 / 480.4 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.004151, allocations: 7.625 kB / 480.4 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.004156, allocations: 4 kB / 480.4 MB, free: 27.05 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 6.946e-05/0.004226, allocations: 194 kB / 480.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.004238, allocations: 16.58 kB / 480.7 MB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.004256, allocations: 8.375 kB / 480.7 MB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.004258, allocations: 2.969 kB / 480.7 MB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.004259, allocations: 1.875 kB / 480.7 MB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.004262, allocations: 3.375 kB / 480.7 MB, free: 26.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.004479, allocations: 385.9 kB / 481 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.00448, allocations: 0 / 481 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-06/0.004483, allocations: 3.594 kB / 481.1 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.004484, allocations: 6.562 kB / 481.1 MB, free: 26.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.00449, allocations: 7.984 kB / 481.1 MB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.004491, allocations: 2.625 kB / 481.1 MB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.004492, allocations: 3.984 kB / 481.1 MB, free: 26.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.004605, allocations: 301.6 kB / 481.4 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.004612, allocations: 7.938 kB / 481.4 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.004623, allocations: 2.906 kB / 481.4 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.537e-05/0.004669, allocations: 10.25 kB / 481.4 MB, free: 26.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.004694, allocations: 10.77 kB / 481.4 MB, free: 26.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.004705, allocations: 7.469 kB / 481.4 MB, free: 26.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.397e-05/0.004739, allocations: 130.1 kB / 481.5 MB, free: 26.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004739, allocations: 3.812 kB / 481.5 MB, free: 26.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001405/0.004879, allocations: 13.31 kB / 481.5 MB, free: 26.08 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 6.05e-05/0.00494, allocations: 98.66 kB / 481.6 MB, free: 25.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.005043, allocations: 162.9 kB / 481.8 MB, free: 25.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.005044, allocations: 2.812 kB / 481.8 MB, free: 25.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.189e-05/0.005086, allocations: 116.6 kB / 481.9 MB, free: 25.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.005257, allocations: 14.31 kB / 481.9 MB, free: 25.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001979/0.005454, allocations: 187.8 kB / 482.1 MB, free: 25.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.22e-05/0.005477, allocations: 57.36 kB / 482.2 MB, free: 25.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.86e-05/0.005495, allocations: 9.344 kB / 482.2 MB, free: 25.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.005549, allocations: 82.11 kB / 482.3 MB, free: 25.42 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.005549, allocations: 0 / 482.3 MB, free: 25.42 MB / 426.7 MB Notification: Performance of Templates: time 0.002327/0.007876, allocations: 1.027 MB / 483.3 MB, free: 25.32 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.241425149142742]