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.001529/0.001529, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001622/0.001622, allocations: 216.3 kB / 22.25 MB, free: 5.262 MB / 14.72 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 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 0.8988/0.8988, allocations: 145 MB / 457.4 MB, free: 15.28 MB / 366.1 MB " [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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 72.05 kB / 0.6335 GB, free: 6.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1675, allocations: 87.89 MB / 0.7194 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002862/0.1703, allocations: 1.432 MB / 0.7208 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009324/0.1713, allocations: 446.8 kB / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.1713, allocations: 0 / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.184e-05/0.1714, allocations: 3.938 kB / 0.7212 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.295e-05/0.1715, allocations: 15.86 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.1716, allocations: 19.98 kB / 0.7212 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1717, allocations: 47.84 kB / 0.7213 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.1718, allocations: 4 kB / 0.7213 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.545e-05/0.1719, allocations: 23.86 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.172, allocations: 23.86 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.172, allocations: 4 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.172, allocations: 4 kB / 0.7213 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.1721, allocations: 15.91 kB / 0.7213 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.949e-05/0.1721, allocations: 15.94 kB / 0.7214 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1722, allocations: 39.83 kB / 0.7214 GB, free: 12.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1723, allocations: 0 / 0.7214 GB, free: 12.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1723, allocations: 4 kB / 0.7214 GB, free: 12.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.1723, allocations: 0 / 0.7214 GB, free: 12.26 MB / 0.545 GB 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.0006617/0.1729, allocations: 319.9 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.173, allocations: 8.031 kB / 0.7217 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.173, allocations: 8.891 kB / 0.7217 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.1731, allocations: 118.4 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1731, allocations: 384 / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1732, allocations: 8.312 kB / 0.7218 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1733, allocations: 91.67 kB / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.1733, allocations: 0 / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1733, allocations: 0 / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1733, allocations: 4 kB / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.1734, allocations: 45.69 kB / 0.722 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.1738, allocations: 208.5 kB / 0.7222 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.1739, allocations: 72.2 kB / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.553e-05/0.1739, allocations: 50.67 kB / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.174, allocations: 0 / 0.7223 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.1742, allocations: 123.4 kB / 0.7224 GB, free: 11.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1742, allocations: 4 kB / 0.7224 GB, free: 11.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003293/0.1745, allocations: 210.7 kB / 0.7226 GB, free: 10.83 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1746, allocations: 81.11 kB / 0.7227 GB, free: 10.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.1747, allocations: 105.8 kB / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.1747, allocations: 29.7 kB / 0.7228 GB, free: 10.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.1747, allocations: 88.08 kB / 0.7229 GB, free: 10.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1748, allocations: 20.14 kB / 0.7229 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1748, allocations: 29.7 kB / 0.7229 GB, free: 10.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.175, allocations: 310.8 kB / 0.7232 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.175, allocations: 53.62 kB / 0.7233 GB, free: 10.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.1751, allocations: 72.2 kB / 0.7234 GB, free: 9.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.1752, allocations: 113.9 kB / 0.7235 GB, free: 9.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.1752, allocations: 3.938 kB / 0.7235 GB, free: 9.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001867/0.1754, allocations: 157 kB / 0.7236 GB, free: 9.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/0.1755, allocations: 41.69 kB / 0.7237 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1755, allocations: 0 / 0.7237 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1755, allocations: 0 / 0.7237 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.332e-05/0.1755, allocations: 4 kB / 0.7237 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1755, allocations: 4.062 kB / 0.7237 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.1756, allocations: 15.89 kB / 0.7237 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1756, allocations: 0 / 0.7237 GB, free: 9.605 MB / 0.545 GB 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.0001212/0.1757, allocations: 151.5 kB / 0.7238 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.1757, allocations: 7.938 kB / 0.7238 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.1758, allocations: 12.38 kB / 0.7239 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1758, allocations: 3.938 kB / 0.7239 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1758, allocations: 0 / 0.7239 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.1758, allocations: 3.984 kB / 0.7239 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.1762, allocations: 373.5 kB / 0.7242 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1762, allocations: 8.062 kB / 0.7242 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.067e-06/0.1762, allocations: 4 kB / 0.7242 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1762, allocations: 0 / 0.7242 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1762, allocations: 0 / 0.7242 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1762, allocations: 0 / 0.7242 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1762, allocations: 3.984 kB / 0.7242 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1765, allocations: 266.8 kB / 0.7245 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.1765, allocations: 3.953 kB / 0.7245 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1765, allocations: 8 kB / 0.7245 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/0.1766, allocations: 8.078 kB / 0.7245 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.1767, allocations: 15.92 kB / 0.7245 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1767, allocations: 4 kB / 0.7245 GB, free: 8.652 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.235e-05/0.1768, allocations: 87.28 kB / 0.7246 GB, free: 8.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1768, allocations: 0 / 0.7246 GB, free: 8.566 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002286/0.177, allocations: 16 kB / 0.7246 GB, free: 8.551 MB / 0.545 GB 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.0001142/0.1771, allocations: 107.2 kB / 0.7247 GB, free: 8.438 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.1773, allocations: 167.5 kB / 0.7249 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1773, allocations: 0 / 0.7249 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.1774, allocations: 109.1 kB / 0.725 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.1777, allocations: 20.11 kB / 0.725 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.1781, allocations: 183.3 kB / 0.7252 GB, free: 7.895 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.891e-05/0.1781, allocations: 67.34 kB / 0.7252 GB, free: 7.809 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.1782, allocations: 4 kB / 0.7253 GB, free: 7.805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.1782, allocations: 15.42 kB / 0.7253 GB, free: 7.789 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.1782, allocations: 0 / 0.7253 GB, free: 7.789 MB / 0.545 GB Notification: Performance of Templates: time 0.003509/0.1817, allocations: 0.9712 MB / 0.7262 GB, free: 6.852 MB / 0.545 GB " [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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.305990520864725] Failed to read output from testmodel.py, exit status != 0: 0.1903632301837206 0.20401848599999994 0.028870922 Calling exit ...