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.001528/0.001528, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00166/0.00166, allocations: 217.1 kB / 23.01 MB, free: 4.602 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.374/1.374, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.8577/0.8577, allocations: 145 MB / 458.2 MB, free: 15.49 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.002106/0.002106, allocations: 65.66 kB / 0.6344 GB, free: 6.824 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1579, allocations: 87.89 MB / 0.7202 GB, free: 14.94 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002485/0.1603, allocations: 1.448 MB / 0.7216 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000811/0.1611, allocations: 486.8 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.1612, allocations: 0 / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.623e-05/0.1612, allocations: 7.922 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.168e-05/0.1613, allocations: 3.938 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.1614, allocations: 23.91 kB / 0.7221 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1615, allocations: 47.84 kB / 0.7221 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.544e-05/0.1616, allocations: 15.98 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.1617, allocations: 23.86 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.869e-05/0.1617, allocations: 23.92 kB / 0.7222 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1618, allocations: 4 kB / 0.7222 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.1618, allocations: 4 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.1618, allocations: 7.922 kB / 0.7222 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.1618, allocations: 23.92 kB / 0.7222 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.1619, allocations: 43.77 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1619, allocations: 0 / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1619, allocations: 3.938 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.162, allocations: 4 kB / 0.7223 GB, free: 12.76 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.0005863/0.1625, allocations: 316 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1626, allocations: 8.031 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.1626, allocations: 8.891 kB / 0.7226 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1627, allocations: 118.4 kB / 0.7227 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1627, allocations: 4.375 kB / 0.7227 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1628, allocations: 4.375 kB / 0.7227 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1629, allocations: 54 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1629, allocations: 0 / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1629, allocations: 4 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1629, allocations: 0 / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.163, allocations: 19.98 kB / 0.7228 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.1633, allocations: 243.8 kB / 0.723 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.1634, allocations: 38.56 kB / 0.7231 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.1635, allocations: 16.98 kB / 0.7231 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1635, allocations: 4 kB / 0.7231 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.1637, allocations: 97.73 kB / 0.7232 GB, free: 11.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1637, allocations: 0 / 0.7232 GB, free: 11.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002913/0.164, allocations: 151.3 kB / 0.7233 GB, free: 11.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.164, allocations: 77.11 kB / 0.7234 GB, free: 11.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.1641, allocations: 113.8 kB / 0.7235 GB, free: 11.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.1641, allocations: 29.7 kB / 0.7235 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.1642, allocations: 84.14 kB / 0.7236 GB, free: 11.21 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1642, allocations: 19.84 kB / 0.7236 GB, free: 11.19 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/0.1643, allocations: 33.59 kB / 0.7237 GB, free: 11.15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1644, allocations: 322.8 kB / 0.724 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.1644, allocations: 16 kB / 0.724 GB, free: 10.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.1645, allocations: 34.56 kB / 0.724 GB, free: 10.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.1646, allocations: 126.7 kB / 0.7241 GB, free: 10.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1646, allocations: 0 / 0.7241 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001646/0.1648, allocations: 119.3 kB / 0.7243 GB, free: 10.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.1648, allocations: 33.7 kB / 0.7243 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1648, allocations: 3.938 kB / 0.7243 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1648, allocations: 4 kB / 0.7243 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.002e-05/0.1649, allocations: 4.047 kB / 0.7243 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1649, allocations: 8 kB / 0.7243 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.165, allocations: 11.95 kB / 0.7243 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.165, allocations: 4 kB / 0.7243 GB, free: 10.42 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.0001167/0.1651, allocations: 151.4 kB / 0.7245 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1651, allocations: 4 kB / 0.7245 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.1651, allocations: 12.38 kB / 0.7245 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1651, allocations: 0 / 0.7245 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1651, allocations: 0 / 0.7245 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1651, allocations: 7.938 kB / 0.7245 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.1655, allocations: 371.3 kB / 0.7248 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1655, allocations: 7.938 kB / 0.7249 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.1656, allocations: 7.984 kB / 0.7249 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1656, allocations: 0 / 0.7249 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.1656, allocations: 0 / 0.7249 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1656, allocations: 0 / 0.7249 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1656, allocations: 4 kB / 0.7249 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.1658, allocations: 237.1 kB / 0.7251 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.1658, allocations: 11.94 kB / 0.7251 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.1658, allocations: 4 kB / 0.7251 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.916e-05/0.1659, allocations: 11.92 kB / 0.7251 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.166, allocations: 15.92 kB / 0.7251 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.166, allocations: 4 kB / 0.7251 GB, free: 9.492 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.024e-05/0.166, allocations: 83.28 kB / 0.7252 GB, free: 9.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.166, allocations: 0 / 0.7252 GB, free: 9.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000222/0.1663, allocations: 23.98 kB / 0.7252 GB, free: 9.387 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.0001091/0.1664, allocations: 95.25 kB / 0.7253 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001801/0.1666, allocations: 111.3 kB / 0.7254 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1666, allocations: 0 / 0.7254 GB, free: 9.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.1667, allocations: 83.39 kB / 0.7255 GB, free: 9.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1669, allocations: 13.86 kB / 0.7255 GB, free: 9.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.1673, allocations: 183.2 kB / 0.7257 GB, free: 8.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.1676, allocations: 0.6884 MB / 0.7264 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1676, allocations: 11.44 kB / 0.7264 GB, free: 8.121 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1676, allocations: 0 / 0.7264 GB, free: 8.121 MB / 0.545 GB Notification: Performance of Templates: time 0.002497/0.1701, allocations: 0.9117 MB / 0.7273 GB, free: 7.215 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: 7.22679154179059] Failed to read output from testmodel.py, exit status != 0: 0.1789656940381974 0.19220720200000002 0.027408329000000002 Calling exit ...