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.001249/0.001249, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001407/0.001407, allocations: 222.8 kB / 23 MB, free: 4.914 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8712/0.8712, allocations: 145 MB / 458.2 MB, free: 15.29 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.002042/0.002042, allocations: 62.47 kB / 0.6343 GB, free: 6.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1658, allocations: 87.88 MB / 0.7201 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002579/0.1684, allocations: 1.443 MB / 0.7215 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008007/0.1692, allocations: 442.9 kB / 0.7219 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.1692, allocations: 4 kB / 0.7219 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.1693, allocations: 3.938 kB / 0.7219 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.505e-05/0.1693, allocations: 19.86 kB / 0.722 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.1695, allocations: 11.98 kB / 0.722 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.1696, allocations: 55.78 kB / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.1697, allocations: 0 / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.242e-05/0.1697, allocations: 31.91 kB / 0.7221 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.1698, allocations: 15.86 kB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1698, allocations: 4 kB / 0.7221 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.1698, allocations: 4 kB / 0.7221 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.1699, allocations: 11.98 kB / 0.7221 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.1699, allocations: 15.94 kB / 0.7221 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.17, allocations: 47.75 kB / 0.7221 GB, free: 12.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.17, allocations: 4 kB / 0.7222 GB, free: 12.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.17, allocations: 0 / 0.7222 GB, free: 12.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.17, allocations: 0 / 0.7222 GB, free: 12.25 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.0005894/0.1706, allocations: 318.1 kB / 0.7225 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.1706, allocations: 8.031 kB / 0.7225 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.1707, allocations: 16.89 kB / 0.7225 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1708, allocations: 110.5 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1708, allocations: 4.375 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1708, allocations: 384 / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.1709, allocations: 83.69 kB / 0.7227 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1709, allocations: 4 kB / 0.7227 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.171, allocations: 0 / 0.7227 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.171, allocations: 0 / 0.7227 GB, free: 11.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.171, allocations: 49.69 kB / 0.7227 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.1714, allocations: 208.5 kB / 0.7229 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1715, allocations: 80.19 kB / 0.723 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.1715, allocations: 50.67 kB / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.1715, allocations: 0 / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.1717, allocations: 135.4 kB / 0.7232 GB, free: 11.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1717, allocations: 0 / 0.7232 GB, free: 11.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003152/0.172, allocations: 202.7 kB / 0.7234 GB, free: 10.83 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.1721, allocations: 85.05 kB / 0.7234 GB, free: 10.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.1722, allocations: 109.8 kB / 0.7236 GB, free: 10.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1722, allocations: 29.7 kB / 0.7236 GB, free: 10.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.1723, allocations: 84.14 kB / 0.7237 GB, free: 10.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.1723, allocations: 23.84 kB / 0.7237 GB, free: 10.47 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.1723, allocations: 29.7 kB / 0.7237 GB, free: 10.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1725, allocations: 318.8 kB / 0.724 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.1725, allocations: 41.69 kB / 0.7241 GB, free: 10.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.989e-05/0.1726, allocations: 68.2 kB / 0.7241 GB, free: 9.984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1727, allocations: 121.9 kB / 0.7242 GB, free: 9.844 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1727, allocations: 3.938 kB / 0.7242 GB, free: 9.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001777/0.1729, allocations: 145 kB / 0.7244 GB, free: 9.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.1729, allocations: 37.75 kB / 0.7244 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1729, allocations: 4.391 kB / 0.7244 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1729, allocations: 4 kB / 0.7244 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/0.173, allocations: 0 / 0.7244 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.173, allocations: 4 kB / 0.7244 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.1731, allocations: 11.89 kB / 0.7244 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1731, allocations: 4 kB / 0.7244 GB, free: 9.609 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.0001158/0.1732, allocations: 155.4 kB / 0.7246 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.1732, allocations: 8 kB / 0.7246 GB, free: 9.434 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.1732, allocations: 4.375 kB / 0.7246 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1732, allocations: 4 kB / 0.7246 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1732, allocations: 0 / 0.7246 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1732, allocations: 3.984 kB / 0.7246 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1736, allocations: 377.5 kB / 0.725 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1736, allocations: 0 / 0.725 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-06/0.1736, allocations: 4.375 kB / 0.725 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1736, allocations: 0 / 0.725 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1736, allocations: 0 / 0.725 GB, free: 8.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1736, allocations: 4 kB / 0.725 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1737, allocations: 7.922 kB / 0.725 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1739, allocations: 266.8 kB / 0.7252 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.1739, allocations: 11.95 kB / 0.7253 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1739, allocations: 0 / 0.7253 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.174, allocations: 11.98 kB / 0.7253 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.1741, allocations: 7.984 kB / 0.7253 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1741, allocations: 4 kB / 0.7253 GB, free: 8.656 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.1741, allocations: 87.28 kB / 0.7254 GB, free: 8.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1741, allocations: 3.938 kB / 0.7254 GB, free: 8.566 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002239/0.1744, allocations: 12 kB / 0.7254 GB, free: 8.555 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.000101/0.1745, allocations: 115.2 kB / 0.7255 GB, free: 8.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1747, allocations: 170.7 kB / 0.7256 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1747, allocations: 0 / 0.7256 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.1748, allocations: 113 kB / 0.7258 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.1751, allocations: 11.98 kB / 0.7258 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.1754, allocations: 212.9 kB / 0.726 GB, free: 7.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.114e-05/0.1755, allocations: 67.34 kB / 0.726 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.1755, allocations: 11.44 kB / 0.726 GB, free: 7.762 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.1755, allocations: 4.125 kB / 0.726 GB, free: 7.758 MB / 0.545 GB Notification: Performance of Templates: time 0.002303/0.1778, allocations: 0.9228 MB / 0.7269 GB, free: 6.84 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.333916984964162] Failed to read output from testmodel.py, exit status != 0: 0.18586617289111018 0.19939794900000002 0.026510253 Calling exit ...