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.001573/0.001573, allocations: 209.8 kB / 22.24 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.785 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.9081/0.9081, allocations: 145 MB / 457.4 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) [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.002095/0.002095, allocations: 65.77 kB / 0.633 GB, free: 6.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1627, allocations: 87.9 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002579/0.1653, allocations: 1.432 MB / 0.7203 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.1662, allocations: 442.9 kB / 0.7207 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.655e-05/0.1662, allocations: 3.938 kB / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.1662, allocations: 3.938 kB / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.1663, allocations: 11.94 kB / 0.7207 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.1664, allocations: 23.91 kB / 0.7207 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1666, allocations: 55.78 kB / 0.7208 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.206e-05/0.1666, allocations: 0 / 0.7208 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.1667, allocations: 27.92 kB / 0.7208 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.1668, allocations: 19.86 kB / 0.7208 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1668, allocations: 4 kB / 0.7208 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.1668, allocations: 4 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.1668, allocations: 7.984 kB / 0.7209 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.1669, allocations: 19.92 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.167, allocations: 43.77 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.167, allocations: 0 / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.167, allocations: 4 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.167, allocations: 0 / 0.7209 GB, free: 12.75 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.0005661/0.1675, allocations: 316 kB / 0.7212 GB, free: 12.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1676, allocations: 8.031 kB / 0.7212 GB, free: 12.4 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.1676, allocations: 34.75 kB / 0.7213 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.1677, allocations: 8.891 kB / 0.7213 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1678, allocations: 114.5 kB / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1678, allocations: 4.375 kB / 0.7214 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1678, allocations: 12.36 kB / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1679, allocations: 87.45 kB / 0.7215 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1679, allocations: 0 / 0.7215 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1679, allocations: 0 / 0.7215 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1679, allocations: 0 / 0.7215 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.707e-05/0.168, allocations: 45.69 kB / 0.7215 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.1684, allocations: 239.9 kB / 0.7218 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.1685, allocations: 72.2 kB / 0.7218 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.1686, allocations: 38.69 kB / 0.7219 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.1686, allocations: 4 kB / 0.7219 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.1688, allocations: 135.4 kB / 0.722 GB, free: 11.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1688, allocations: 0 / 0.722 GB, free: 11.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003269/0.1691, allocations: 206.7 kB / 0.7222 GB, free: 11.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.1692, allocations: 81.11 kB / 0.7223 GB, free: 11.15 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.1693, allocations: 113.9 kB / 0.7224 GB, free: 11.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1693, allocations: 29.64 kB / 0.7224 GB, free: 11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.1694, allocations: 92.12 kB / 0.7225 GB, free: 10.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1694, allocations: 15.86 kB / 0.7225 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.1695, allocations: 25.72 kB / 0.7225 GB, free: 10.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1696, allocations: 318.8 kB / 0.7228 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.1697, allocations: 53.69 kB / 0.7229 GB, free: 10.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.1698, allocations: 68.2 kB / 0.723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.1699, allocations: 110 kB / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1699, allocations: 0 / 0.7231 GB, free: 10.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001956/0.1701, allocations: 153 kB / 0.7232 GB, free: 10.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.826e-05/0.1701, allocations: 39.73 kB / 0.7232 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1701, allocations: 0 / 0.7232 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1702, allocations: 0 / 0.7232 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-05/0.1702, allocations: 12 kB / 0.7233 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1702, allocations: 0 / 0.7233 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.1703, allocations: 19.88 kB / 0.7233 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1703, allocations: 0 / 0.7233 GB, free: 10.02 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.0001257/0.1704, allocations: 155.5 kB / 0.7234 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.1704, allocations: 4 kB / 0.7234 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.1705, allocations: 12.38 kB / 0.7234 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1705, allocations: 0 / 0.7234 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1705, allocations: 0 / 0.7234 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1705, allocations: 0 / 0.7234 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.1709, allocations: 404.9 kB / 0.7238 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1709, allocations: 0 / 0.7238 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.1709, allocations: 4 kB / 0.7238 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1709, allocations: 0 / 0.7238 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.171, allocations: 4 kB / 0.7238 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.171, allocations: 0 / 0.7238 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.171, allocations: 4.312 kB / 0.7238 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1712, allocations: 270.8 kB / 0.7241 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.1712, allocations: 11.95 kB / 0.7241 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1713, allocations: 0 / 0.7241 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1714, allocations: 11.98 kB / 0.7241 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.1714, allocations: 19.92 kB / 0.7241 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1714, allocations: 0 / 0.7241 GB, free: 9.027 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.1715, allocations: 87.28 kB / 0.7242 GB, free: 8.941 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1715, allocations: 0 / 0.7242 GB, free: 8.941 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002318/0.1717, allocations: 12 kB / 0.7242 GB, free: 8.93 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.000567/0.1723, allocations: 0.7977 MB / 0.725 GB, free: 8.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1725, allocations: 166.7 kB / 0.7252 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1725, allocations: 0 / 0.7252 GB, free: 7.906 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.1726, allocations: 117.2 kB / 0.7253 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.1729, allocations: 19.92 kB / 0.7253 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1744, allocations: 1.563 MB / 0.7268 GB, free: 6.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.183e-05/0.1745, allocations: 67.34 kB / 0.7269 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.1745, allocations: 7.984 kB / 0.7269 GB, free: 5.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.1745, allocations: 19.44 kB / 0.7269 GB, free: 5.953 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1745, allocations: 288 / 0.7269 GB, free: 5.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.2029, allocations: 2.509 MB / 0.7294 GB, free: 3.605 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.26, allocations: 11.98 kB / 0.7294 GB, free: 3.594 MB / 0.545 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.981245985720307] Failed to read output from testmodel.py, exit status != 0: 11.364926130045205 11.382540545 11.21227108 Calling exit ...