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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9813/0.9813, allocations: 145.2 MB / 448.6 MB, free: 13.73 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.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 71.81 kB / 0.6211 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2036, allocations: 86.63 MB / 0.7057 GB, free: 2.875 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002955/0.2065, allocations: 1.426 MB / 0.7071 GB, free: 1.434 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.2074, allocations: 442.9 kB / 0.7075 GB, free: 0.9961 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.2074, allocations: 0 / 0.7075 GB, free: 0.9961 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 3.354e-05/0.2074, allocations: 7.922 kB / 0.7075 GB, free: 0.9883 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 8.609e-05/0.2075, allocations: 11.94 kB / 0.7075 GB, free: 0.9766 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.2077, allocations: 23.91 kB / 0.7075 GB, free: 0.9531 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.2078, allocations: 55.78 kB / 0.7076 GB, free: 0.8984 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2079, allocations: 0 / 0.7076 GB, free: 0.8984 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.208, allocations: 27.86 kB / 0.7076 GB, free: 0.8711 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 7.618e-05/0.2081, allocations: 19.92 kB / 0.7076 GB, free: 0.8516 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.2081, allocations: 8 kB / 0.7076 GB, free: 0.8438 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.2081, allocations: 4 kB / 0.7076 GB, free: 0.8398 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 2.945e-05/0.2081, allocations: 7.984 kB / 0.7076 GB, free: 0.832 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.2082, allocations: 23.86 kB / 0.7077 GB, free: 0.8086 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.2083, allocations: 39.83 kB / 0.7077 GB, free: 0.7695 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2083, allocations: 0 / 0.7077 GB, free: 0.7695 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2083, allocations: 0 / 0.7077 GB, free: 0.7695 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2083, allocations: 0 / 0.7077 GB, free: 0.7695 MB / 0.5138 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.0006884/0.209, allocations: 401 kB / 0.7081 GB, free: 332 kB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2091, allocations: 12.03 kB / 0.7081 GB, free: 320 kB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.2091, allocations: 8.922 kB / 0.7081 GB, free: 312 kB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.2093, allocations: 168.3 kB / 0.7083 GB, free: 104 kB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2093, allocations: 4.375 kB / 0.7083 GB, free: 100 kB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.2093, allocations: 12.25 kB / 0.7083 GB, free: 88 kB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.2094, allocations: 49.98 kB / 0.7083 GB, free: 32 kB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2094, allocations: 3.938 kB / 0.7083 GB, free: 28 kB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2094, allocations: 8 kB / 0.7083 GB, free: 20 kB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2094, allocations: 4 kB / 0.7083 GB, free: 16 kB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.843e-05/0.2095, allocations: 12 kB / 0.7084 GB, free: 4 kB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.21, allocations: 268.8 kB / 0.7086 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.052e-05/0.2101, allocations: 38.52 kB / 0.7087 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.232e-05/0.2101, allocations: 20.97 kB / 0.7087 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2101, allocations: 0 / 0.7087 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.2104, allocations: 105 kB / 0.7088 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.2104, allocations: 0 / 0.7088 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003167/0.2107, allocations: 143.4 kB / 0.7089 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.2107, allocations: 81.11 kB / 0.709 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.2109, allocations: 113.8 kB / 0.7091 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2109, allocations: 33.69 kB / 0.7091 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.2109, allocations: 84.14 kB / 0.7092 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.211, allocations: 15.84 kB / 0.7092 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.211, allocations: 33.7 kB / 0.7093 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2112, allocations: 322.8 kB / 0.7096 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.2112, allocations: 15.98 kB / 0.7096 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.215e-05/0.2113, allocations: 34.52 kB / 0.7096 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.2114, allocations: 114 kB / 0.7097 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2114, allocations: 4 kB / 0.7097 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001756/0.2116, allocations: 123.7 kB / 0.7098 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.2116, allocations: 37.69 kB / 0.7099 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2116, allocations: 0 / 0.7099 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2117, allocations: 0 / 0.7099 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.995e-05/0.2117, allocations: 7.938 kB / 0.7099 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2117, allocations: 3.984 kB / 0.7099 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.897e-05/0.2118, allocations: 16.05 kB / 0.7099 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2118, allocations: 4.375 kB / 0.7099 GB, free: 14.22 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.0001373/0.2119, allocations: 156.2 kB / 0.7101 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.212, allocations: 11.89 kB / 0.7101 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.212, allocations: 8.375 kB / 0.7101 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.212, allocations: 7.938 kB / 0.7101 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.212, allocations: 3.984 kB / 0.7101 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.212, allocations: 0 / 0.7101 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.2125, allocations: 400.1 kB / 0.7105 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2125, allocations: 0 / 0.7105 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-06/0.2125, allocations: 4 kB / 0.7105 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2125, allocations: 0 / 0.7105 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2125, allocations: 4 kB / 0.7105 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2125, allocations: 3.938 kB / 0.7105 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2125, allocations: 0 / 0.7105 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.2127, allocations: 233.1 kB / 0.7107 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.2128, allocations: 89.05 kB / 0.7108 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2128, allocations: 0 / 0.7108 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.2129, allocations: 12 kB / 0.7108 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.213, allocations: 11.92 kB / 0.7108 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.213, allocations: 4 kB / 0.7108 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.865e-05/0.2131, allocations: 95.2 kB / 0.7109 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2131, allocations: 0 / 0.7109 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002323/0.2133, allocations: 12 kB / 0.7109 GB, free: 13.07 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.0001328/0.2134, allocations: 99.25 kB / 0.711 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.2136, allocations: 115.3 kB / 0.7111 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2136, allocations: 0 / 0.7111 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.974e-05/0.2137, allocations: 83.39 kB / 0.7112 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.214, allocations: 11.94 kB / 0.7112 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.2144, allocations: 186.9 kB / 0.7114 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.2148, allocations: 0.6885 MB / 0.7121 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.2148, allocations: 15.56 kB / 0.7121 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.2148, allocations: 0 / 0.7121 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of Templates: time 0.002707/0.2175, allocations: 0.9183 MB / 0.713 GB, free: 10.88 MB / 0.5294 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: 8.39689861307852] Failed to read output from testmodel.py, exit status != 0: 0.2246578501071781 0.23877085399999995 0.027476760000000003 Calling exit ...