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.0008883/0.0008883, allocations: 80.39 kB / 20.97 MB, free: 3.578 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.001347/0.001347, allocations: 165 kB / 24.28 MB, free: 280 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.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.5988/0.5988, allocations: 110.2 MB / 371.3 MB, free: 12.52 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 2.164e-06/2.164e-06, allocations: 0 / 475.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.298e-05, allocations: 4.062 kB / 475.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001692/0.001715, allocations: 1.483 MB / 476.6 MB, free: 14.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005758/0.002291, allocations: 461.8 kB / 477.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.002333, allocations: 2.625 kB / 477.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.002364, allocations: 7.266 kB / 477.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.924e-05/0.002453, allocations: 16.86 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.00262, allocations: 12.58 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.002743, allocations: 53.08 kB / 477.1 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.002843, allocations: 7.125 kB / 477.2 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/0.002935, allocations: 31.41 kB / 477.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.003003, allocations: 20.33 kB / 477.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.003025, allocations: 3.781 kB / 477.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.003037, allocations: 4.938 kB / 477.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.003063, allocations: 4 kB / 477.2 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.003107, allocations: 20.23 kB / 477.2 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.003235, allocations: 31.39 kB / 477.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.003238, allocations: 3.969 kB / 477.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003239, allocations: 3.938 kB / 477.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.003244, allocations: 0 / 477.3 MB, free: 13.85 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.0004725/0.003716, allocations: 422.6 kB / 477.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.003755, allocations: 9.594 kB / 477.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.003801, allocations: 6.781 kB / 477.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.471e-05/0.003885, allocations: 116.2 kB / 477.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.003898, allocations: 3.375 kB / 477.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.00391, allocations: 7.531 kB / 477.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.892e-05/0.004009, allocations: 71.23 kB / 477.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.004018, allocations: 192 / 477.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.004029, allocations: 4.375 kB / 477.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.004039, allocations: 3.938 kB / 477.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.00408, allocations: 40.78 kB / 477.9 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.004387, allocations: 269 kB / 478.2 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.004454, allocations: 68.83 kB / 478.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.004483, allocations: 44.48 kB / 478.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.0045, allocations: 0 / 478.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.004614, allocations: 134.4 kB / 478.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.004615, allocations: 0 / 478.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002304/0.004846, allocations: 193 kB / 478.6 MB, free: 12.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.00488, allocations: 80.11 kB / 478.7 MB, free: 12.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.004943, allocations: 168.9 kB / 478.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.004952, allocations: 33.52 kB / 478.9 MB, free: 12.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.005172, allocations: 138.8 kB / 479.1 MB, free: 28.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.005189, allocations: 21.11 kB / 479.1 MB, free: 28.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.005222, allocations: 35.28 kB / 479.1 MB, free: 28.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.005333, allocations: 499.6 kB / 479.6 MB, free: 27.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.005361, allocations: 37 kB / 479.6 MB, free: 27.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.005397, allocations: 70 kB / 479.7 MB, free: 27.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/0.005458, allocations: 116.5 kB / 479.8 MB, free: 27.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.005461, allocations: 0.5312 kB / 479.8 MB, free: 27.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001074/0.005568, allocations: 160.3 kB / 480 MB, free: 27.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.005592, allocations: 35.42 kB / 480 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.005598, allocations: 3.938 kB / 480 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.005612, allocations: 3.281 kB / 480 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.521e-05/0.005657, allocations: 5.75 kB / 480 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.005663, allocations: 2.375 kB / 480 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.005701, allocations: 10 kB / 480 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.005706, allocations: 3.094 kB / 480 MB, free: 27.18 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.585e-05/0.005782, allocations: 199.7 kB / 480.2 MB, free: 26.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.005794, allocations: 13.8 kB / 480.2 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.005814, allocations: 11.91 kB / 480.3 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.005816, allocations: 0 / 480.3 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.005819, allocations: 0.5 kB / 480.3 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.005824, allocations: 8.672 kB / 480.3 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.006106, allocations: 412.3 kB / 480.7 MB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.006107, allocations: 0 / 480.7 MB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-06/0.006113, allocations: 6.469 kB / 480.7 MB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006114, allocations: 0 / 480.7 MB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.006123, allocations: 2.25 kB / 480.7 MB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006124, allocations: 3.281 kB / 480.7 MB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.006125, allocations: 2.125 kB / 480.7 MB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.006286, allocations: 312 kB / 481 MB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.01e-05/0.006296, allocations: 6.297 kB / 481 MB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.006314, allocations: 2.938 kB / 481 MB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.006366, allocations: 4.969 kB / 481 MB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.006408, allocations: 11.59 kB / 481 MB, free: 26.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.006421, allocations: 5.781 kB / 481 MB, free: 26.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.462e-05/0.006466, allocations: 129.1 kB / 481.1 MB, free: 26.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006466, allocations: 0 / 481.1 MB, free: 26.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001488/0.006615, allocations: 17.84 kB / 481.2 MB, free: 26.17 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 7.314e-05/0.006688, allocations: 101.1 kB / 481.3 MB, free: 26.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.006834, allocations: 171.8 kB / 481.4 MB, free: 25.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.006835, allocations: 0 / 481.4 MB, free: 25.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.385e-05/0.006889, allocations: 120 kB / 481.5 MB, free: 25.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.007089, allocations: 23.19 kB / 481.6 MB, free: 25.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.00736, allocations: 185.2 kB / 481.7 MB, free: 25.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.00739, allocations: 59.31 kB / 481.8 MB, free: 25.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.342e-05/0.007413, allocations: 6.172 kB / 481.8 MB, free: 25.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.00744, allocations: 13.53 kB / 481.8 MB, free: 25.56 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/0.007441, allocations: 0.6562 kB / 481.8 MB, free: 25.56 MB / 426.7 MB Notification: Performance of Templates: time 0.0026/0.01004, allocations: 0.9463 MB / 482.8 MB, free: 25.47 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.4289680218789726]