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.00125/0.00125, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.001345/0.001345, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.413/1.413, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9071/0.9071, allocations: 145 MB / 454.5 MB, free: 10.02 MB / 350.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="cs",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.002686/0.002686, allocations: 71.77 kB / 0.6287 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1677, allocations: 87.84 MB / 0.7144 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002788/0.1704, allocations: 1.438 MB / 0.7158 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009388/0.1714, allocations: 482.8 kB / 0.7163 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.1714, allocations: 0 / 0.7163 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.1715, allocations: 11.92 kB / 0.7163 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-05/0.1716, allocations: 3.938 kB / 0.7163 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.1717, allocations: 19.92 kB / 0.7163 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1719, allocations: 47.84 kB / 0.7164 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.172, allocations: 11.98 kB / 0.7164 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.1721, allocations: 19.92 kB / 0.7164 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.1721, allocations: 19.92 kB / 0.7164 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1722, allocations: 4 kB / 0.7164 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.1722, allocations: 7.938 kB / 0.7164 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.1722, allocations: 7.938 kB / 0.7165 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.1722, allocations: 27.92 kB / 0.7165 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1724, allocations: 44.03 kB / 0.7165 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1724, allocations: 4 kB / 0.7165 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1724, allocations: 0 / 0.7165 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1724, allocations: 0 / 0.7165 GB, free: 9.613 MB / 0.5294 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.0007285/0.1731, allocations: 389 kB / 0.7169 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1732, allocations: 16.02 kB / 0.7169 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.342e-05/0.1732, allocations: 4.188 kB / 0.7169 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.1732, allocations: 30.75 kB / 0.7169 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.1733, allocations: 8.891 kB / 0.717 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1734, allocations: 164.4 kB / 0.7171 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1735, allocations: 4.375 kB / 0.7171 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.1735, allocations: 4.375 kB / 0.7171 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1736, allocations: 57.55 kB / 0.7172 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1736, allocations: 3.938 kB / 0.7172 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1736, allocations: 4 kB / 0.7172 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1736, allocations: 0 / 0.7172 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.1737, allocations: 23.98 kB / 0.7172 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.1741, allocations: 276.8 kB / 0.7175 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.1742, allocations: 42.5 kB / 0.7175 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.1743, allocations: 16.98 kB / 0.7175 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1743, allocations: 0 / 0.7175 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.1745, allocations: 101.1 kB / 0.7176 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.1745, allocations: 0 / 0.7176 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003099/0.1748, allocations: 147.3 kB / 0.7178 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.1749, allocations: 77.11 kB / 0.7178 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/0.175, allocations: 113.8 kB / 0.7179 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.175, allocations: 25.7 kB / 0.718 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1751, allocations: 92.2 kB / 0.7181 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1751, allocations: 15.8 kB / 0.7181 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.1751, allocations: 37.7 kB / 0.7181 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1753, allocations: 314.8 kB / 0.7184 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.1753, allocations: 19.98 kB / 0.7184 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.1754, allocations: 42.44 kB / 0.7185 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1755, allocations: 106 kB / 0.7186 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1755, allocations: 4 kB / 0.7186 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001748/0.1757, allocations: 123.3 kB / 0.7187 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/0.1757, allocations: 33.7 kB / 0.7187 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1757, allocations: 0 / 0.7187 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1757, allocations: 4 kB / 0.7187 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.492e-05/0.1758, allocations: 3.938 kB / 0.7187 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1758, allocations: 4 kB / 0.7187 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/0.1758, allocations: 11.94 kB / 0.7187 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1758, allocations: 12.36 kB / 0.7188 GB, free: 7.027 MB / 0.5294 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.0001516/0.176, allocations: 151.5 kB / 0.7189 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.176, allocations: 7.984 kB / 0.7189 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.176, allocations: 8.375 kB / 0.7189 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.176, allocations: 3.938 kB / 0.7189 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.1761, allocations: 0 / 0.7189 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1761, allocations: 0 / 0.7189 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.1766, allocations: 404.1 kB / 0.7193 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1766, allocations: 0 / 0.7193 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-05/0.1766, allocations: 8 kB / 0.7193 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1766, allocations: 0 / 0.7193 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1766, allocations: 3.984 kB / 0.7193 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1766, allocations: 4 kB / 0.7193 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1766, allocations: 3.938 kB / 0.7193 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.1769, allocations: 225.2 kB / 0.7195 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.1769, allocations: 85.06 kB / 0.7196 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1769, allocations: 4 kB / 0.7196 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.177, allocations: 11.98 kB / 0.7196 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.1771, allocations: 8 kB / 0.7196 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.1771, allocations: 15.98 kB / 0.7197 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.1772, allocations: 83.81 kB / 0.7197 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1772, allocations: 0 / 0.7197 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000249/0.1774, allocations: 20 kB / 0.7198 GB, free: 5.879 MB / 0.5294 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.000587/0.178, allocations: 0.7726 MB / 0.7205 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1782, allocations: 111.3 kB / 0.7206 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1782, allocations: 0 / 0.7206 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.1783, allocations: 83.33 kB / 0.7207 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1786, allocations: 23.55 kB / 0.7207 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1801, allocations: 1.424 MB / 0.7221 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1804, allocations: 0.6807 MB / 0.7228 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.1804, allocations: 7.984 kB / 0.7228 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.1805, allocations: 19.55 kB / 0.7228 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.1805, allocations: 0 / 0.7228 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.1996, allocations: 1.943 MB / 0.7247 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.499, allocations: 12.05 kB / 0.7247 GB, free: 0.7461 MB / 0.5294 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.196537468000315] Failed to read output from testmodel.py, exit status != 0: 8.622348019038327 8.638403238 8.46285074 Calling exit ...