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.002694/0.002694, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.003165/0.003165, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.804/1.804, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.122/1.122, allocations: 110.3 MB / 370.6 MB, free: 12.45 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 178] 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 2.174e-06/2.174e-06, allocations: 0 / 474.4 MB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.107e-05, allocations: 3.188 kB / 474.4 MB, free: 15.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002477/0.002508, allocations: 1.451 MB / 475.9 MB, free: 14.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.003316, allocations: 459.9 kB / 476.3 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.003362, allocations: 0 / 476.3 MB, free: 14.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.003388, allocations: 11.16 kB / 476.3 MB, free: 14.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.767e-05/0.003486, allocations: 10.56 kB / 476.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.003651, allocations: 12.5 kB / 476.3 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.003767, allocations: 59.59 kB / 476.4 MB, free: 14.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.003869, allocations: 2.625 kB / 476.4 MB, free: 14.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.003967, allocations: 37.77 kB / 476.4 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.004035, allocations: 11.81 kB / 476.4 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.004058, allocations: 2.625 kB / 476.4 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.004071, allocations: 9.188 kB / 476.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.004096, allocations: 5.031 kB / 476.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.477e-05/0.004141, allocations: 19.14 kB / 476.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.004279, allocations: 45.8 kB / 476.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004282, allocations: 1 kB / 476.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004282, allocations: 0 / 476.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.004288, allocations: 1.125 kB / 476.5 MB, free: 13.95 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.0005863/0.004874, allocations: 422.2 kB / 476.9 MB, free: 13.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.004914, allocations: 10.5 kB / 476.9 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.004967, allocations: 6.188 kB / 477 MB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.789e-05/0.005064, allocations: 116.3 kB / 477.1 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.005082, allocations: 7 kB / 477.1 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.005095, allocations: 10.17 kB / 477.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.005231, allocations: 73.38 kB / 477.2 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.005244, allocations: 192 / 477.2 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.005262, allocations: 10.28 kB / 477.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005268, allocations: 4.531 kB / 477.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.005339, allocations: 43.33 kB / 477.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.00573, allocations: 267.5 kB / 477.5 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.005832, allocations: 76.45 kB / 477.6 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/0.005877, allocations: 55.23 kB / 477.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.005903, allocations: 2.625 kB / 477.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.006053, allocations: 139.8 kB / 477.7 MB, free: 12.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.006054, allocations: 0 / 477.7 MB, free: 12.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003166/0.006371, allocations: 213.4 kB / 478 MB, free: 12.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.006409, allocations: 81.89 kB / 478 MB, free: 12.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.006494, allocations: 183.8 kB / 478.2 MB, free: 12.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.006505, allocations: 28.7 kB / 478.2 MB, free: 12.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.006803, allocations: 130.9 kB / 478.4 MB, free: 28.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.006822, allocations: 21.58 kB / 478.4 MB, free: 28.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.006865, allocations: 31.98 kB / 478.4 MB, free: 28.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005598/0.007425, allocations: 0.4906 MB / 478.9 MB, free: 27.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.00747, allocations: 48.48 kB / 479 MB, free: 27.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.007529, allocations: 77.95 kB / 479 MB, free: 27.51 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.775e-05/0.007616, allocations: 124.7 kB / 479.2 MB, free: 27.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.007618, allocations: 3.188 kB / 479.2 MB, free: 27.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001495/0.007768, allocations: 165.7 kB / 479.3 MB, free: 27.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.007799, allocations: 41.98 kB / 479.4 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.007806, allocations: 0 / 479.4 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.007823, allocations: 0 / 479.4 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.474e-05/0.007878, allocations: 8.688 kB / 479.4 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.007885, allocations: 0.5 kB / 479.4 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.007936, allocations: 12.84 kB / 479.4 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.007944, allocations: 2.719 kB / 479.4 MB, free: 27.23 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 0.0001493/0.008093, allocations: 198 kB / 479.6 MB, free: 27.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.008115, allocations: 15.98 kB / 479.6 MB, free: 27.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.008146, allocations: 8.438 kB / 479.6 MB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.008147, allocations: 0 / 479.6 MB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.008151, allocations: 2.844 kB / 479.6 MB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.008156, allocations: 7.266 kB / 479.6 MB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.008521, allocations: 424.8 kB / 480 MB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.008523, allocations: 8.875 kB / 480 MB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.008533, allocations: 6.75 kB / 480 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008535, allocations: 0.625 kB / 480 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.008547, allocations: 2.938 kB / 480 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.008548, allocations: 0.5 kB / 480 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.008549, allocations: 0.5 kB / 480 MB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.008838, allocations: 333.4 kB / 480.4 MB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.008849, allocations: 2.656 kB / 480.4 MB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.008872, allocations: 6.484 kB / 480.4 MB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.00897, allocations: 7.688 kB / 480.4 MB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.009026, allocations: 10.3 kB / 480.4 MB, free: 26.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.009043, allocations: 3 kB / 480.4 MB, free: 26.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.009148, allocations: 132.6 kB / 480.5 MB, free: 26.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009148, allocations: 0 / 480.5 MB, free: 26.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.009377, allocations: 17.31 kB / 480.5 MB, free: 26.2 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 0.0001402/0.009517, allocations: 105.7 kB / 480.7 MB, free: 26.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.009774, allocations: 182.1 kB / 480.8 MB, free: 25.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.009775, allocations: 0 / 480.8 MB, free: 25.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.009898, allocations: 124.3 kB / 481 MB, free: 25.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.01019, allocations: 17.73 kB / 481 MB, free: 25.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.0106, allocations: 196.9 kB / 481.2 MB, free: 25.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.461e-05/0.01068, allocations: 73.94 kB / 481.2 MB, free: 25.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.87e-05/0.0107, allocations: 3.125 kB / 481.2 MB, free: 25.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.01074, allocations: 19.09 kB / 481.3 MB, free: 25.58 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01074, allocations: 0 / 481.3 MB, free: 25.58 MB / 426.7 MB Notification: Performance of Templates: time 0.004479/0.01522, allocations: 0.9419 MB / 482.2 MB, free: 25.49 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: 6.515713719069026]