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.001289/0.001289, allocations: 98.08 kB / 19.59 MB, free: 2.34 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.001433/0.001433, allocations: 215 kB / 22.87 MB, free: 5.621 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.486/1.486, allocations: 230.5 MB / 256.5 MB, free: 8.023 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.9413/0.9413, allocations: 144.9 MB / 457.8 MB, free: 15.55 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.002031/0.002031, allocations: 68.2 kB / 0.6339 GB, free: 6.934 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2045, allocations: 87.89 MB / 0.7197 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002775/0.2072, allocations: 1.443 MB / 0.7211 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008631/0.2081, allocations: 438.9 kB / 0.7216 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/0.2081, allocations: 0 / 0.7216 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.2082, allocations: 7.922 kB / 0.7216 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.2083, allocations: 11.92 kB / 0.7216 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.2084, allocations: 19.92 kB / 0.7216 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.2086, allocations: 47.84 kB / 0.7216 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.2087, allocations: 8 kB / 0.7216 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.2087, allocations: 27.86 kB / 0.7217 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.2088, allocations: 23.91 kB / 0.7217 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.2088, allocations: 4 kB / 0.7217 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.2088, allocations: 4 kB / 0.7217 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.2089, allocations: 3.938 kB / 0.7217 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.2089, allocations: 19.92 kB / 0.7217 GB, free: 13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.209, allocations: 47.81 kB / 0.7218 GB, free: 12.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.209, allocations: 0 / 0.7218 GB, free: 12.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.209, allocations: 0 / 0.7218 GB, free: 12.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.209, allocations: 7.938 kB / 0.7218 GB, free: 12.95 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.0006388/0.2097, allocations: 315.9 kB / 0.7221 GB, free: 12.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2097, allocations: 8.031 kB / 0.7221 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.2098, allocations: 8.891 kB / 0.7221 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2099, allocations: 114.5 kB / 0.7222 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2099, allocations: 4.375 kB / 0.7222 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.2099, allocations: 384 / 0.7222 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.2101, allocations: 83.45 kB / 0.7223 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2101, allocations: 0 / 0.7223 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.2101, allocations: 11.98 kB / 0.7223 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2101, allocations: 0 / 0.7223 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.2102, allocations: 45.7 kB / 0.7223 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.2106, allocations: 239.9 kB / 0.7226 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.2107, allocations: 68.2 kB / 0.7226 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.201e-05/0.2108, allocations: 42.69 kB / 0.7227 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2108, allocations: 0 / 0.7227 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.211, allocations: 139.5 kB / 0.7228 GB, free: 11.72 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.211, allocations: 3.938 kB / 0.7228 GB, free: 11.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003477/0.2114, allocations: 202.7 kB / 0.723 GB, free: 11.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/0.2114, allocations: 89.09 kB / 0.7231 GB, free: 11.39 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.2115, allocations: 109.8 kB / 0.7232 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2116, allocations: 25.7 kB / 0.7232 GB, free: 11.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.2116, allocations: 84.14 kB / 0.7233 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.2116, allocations: 15.91 kB / 0.7233 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.2117, allocations: 25.7 kB / 0.7233 GB, free: 11.11 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2118, allocations: 322.8 kB / 0.7237 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.2119, allocations: 45.69 kB / 0.7237 GB, free: 10.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.212, allocations: 72.2 kB / 0.7238 GB, free: 10.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.2121, allocations: 118 kB / 0.7239 GB, free: 10.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2121, allocations: 0 / 0.7239 GB, free: 10.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001816/0.2123, allocations: 153.4 kB / 0.724 GB, free: 10.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.2123, allocations: 29.7 kB / 0.7241 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2123, allocations: 4 kB / 0.7241 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.2123, allocations: 7.922 kB / 0.7241 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.767e-05/0.2124, allocations: 7.938 kB / 0.7241 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2124, allocations: 3.984 kB / 0.7241 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.2124, allocations: 12.02 kB / 0.7241 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.2125, allocations: 8 kB / 0.7241 GB, free: 10.26 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.0001356/0.2126, allocations: 155.4 kB / 0.7242 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.2126, allocations: 4 kB / 0.7242 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.2126, allocations: 8.375 kB / 0.7243 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2126, allocations: 4 kB / 0.7243 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2126, allocations: 0 / 0.7243 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.2126, allocations: 0 / 0.7243 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.2131, allocations: 397.3 kB / 0.7246 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2131, allocations: 0 / 0.7246 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.2131, allocations: 4 kB / 0.7246 GB, free: 9.617 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2131, allocations: 4 kB / 0.7246 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2131, allocations: 7.922 kB / 0.7247 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2131, allocations: 0 / 0.7247 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/0.2131, allocations: 7.875 kB / 0.7247 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.2134, allocations: 254.9 kB / 0.7249 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.2134, allocations: 7.953 kB / 0.7249 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.2134, allocations: 8 kB / 0.7249 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.2135, allocations: 7.984 kB / 0.7249 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.2136, allocations: 11.92 kB / 0.7249 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.2136, allocations: 4 kB / 0.7249 GB, free: 9.281 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.2136, allocations: 95.27 kB / 0.725 GB, free: 9.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2136, allocations: 0 / 0.725 GB, free: 9.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002359/0.2139, allocations: 19.94 kB / 0.725 GB, free: 9.168 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.0001135/0.214, allocations: 99.31 kB / 0.7251 GB, free: 9.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.2142, allocations: 166.7 kB / 0.7253 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2142, allocations: 0 / 0.7253 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.2143, allocations: 109.1 kB / 0.7254 GB, free: 8.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2146, allocations: 20.11 kB / 0.7254 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.215, allocations: 216.8 kB / 0.7256 GB, free: 8.48 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.248e-05/0.215, allocations: 71.28 kB / 0.7257 GB, free: 8.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.2151, allocations: 11.44 kB / 0.7257 GB, free: 8.383 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.2151, allocations: 0 / 0.7257 GB, free: 8.383 MB / 0.545 GB Notification: Performance of Templates: time 0.002481/0.2175, allocations: 0.9127 MB / 0.7266 GB, free: 7.477 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.990584488026798] Failed to read output from testmodel.py, exit status != 0: 0.22612791799474508 0.23962836 0.027646433 Calling exit ...