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.0008818/0.0008818, allocations: 87.56 kB / 20.19 MB, free: 4.352 MB / 18.57 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.001092/0.001092, allocations: 158 kB / 23.51 MB, free: 1.035 MB / 18.57 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 0.9116/0.9116, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.5755/0.5755, allocations: 110.2 MB / 370.6 MB, free: 12.46 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 474.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.531e-05/4.851e-05, allocations: 4.812 kB / 474.4 MB, free: 15.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002581/0.00263, allocations: 1.447 MB / 475.8 MB, free: 14.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008444/0.003474, allocations: 448.8 kB / 476.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.003527, allocations: 4.094 kB / 476.2 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.003562, allocations: 7.406 kB / 476.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.003674, allocations: 3.938 kB / 476.3 MB, free: 14.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.003912, allocations: 21.16 kB / 476.3 MB, free: 14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.004054, allocations: 53.42 kB / 476.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.004182, allocations: 9.25 kB / 476.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.00429, allocations: 34.5 kB / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.713e-05/0.004377, allocations: 16 kB / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.004408, allocations: 2.625 kB / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.004422, allocations: 5.781 kB / 476.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.004455, allocations: 11.92 kB / 476.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.004509, allocations: 12.75 kB / 476.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.004671, allocations: 50.06 kB / 476.5 MB, free: 13.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.004676, allocations: 0 / 476.5 MB, free: 13.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.004677, allocations: 0 / 476.5 MB, free: 13.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.004684, allocations: 1.344 kB / 476.5 MB, free: 13.91 MB / 410.7 MB 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.0006449/0.005329, allocations: 316.8 kB / 476.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/0.005389, allocations: 11.47 kB / 476.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.005466, allocations: 3.562 kB / 476.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.005583, allocations: 126.3 kB / 476.9 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.005596, allocations: 3.562 kB / 476.9 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.005613, allocations: 4.031 kB / 476.9 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.005762, allocations: 81.16 kB / 477 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.005771, allocations: 2.812 kB / 477 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.005785, allocations: 2.375 kB / 477 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005791, allocations: 3.938 kB / 477 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.77e-05/0.005849, allocations: 47.58 kB / 477.1 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.006326, allocations: 202.2 kB / 477.3 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.006443, allocations: 68.72 kB / 477.3 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.006478, allocations: 47.41 kB / 477.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.006505, allocations: 2.625 kB / 477.4 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.006718, allocations: 133 kB / 477.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 3.617e-06/0.006722, allocations: 0 / 477.5 MB, free: 12.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.000291/0.007013, allocations: 213.2 kB / 477.7 MB, free: 12.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.007062, allocations: 79.73 kB / 477.8 MB, free: 12.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.007129, allocations: 115.9 kB / 477.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.00714, allocations: 27.14 kB / 477.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.522e-05/0.007175, allocations: 86.77 kB / 478 MB, free: 12.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.007191, allocations: 14.48 kB / 478 MB, free: 12.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.007229, allocations: 28.88 kB / 478.1 MB, free: 12.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003943/0.007623, allocations: 318.5 kB / 478.4 MB, free: 28.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.734e-05/0.007671, allocations: 44.2 kB / 478.4 MB, free: 28.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.591e-05/0.007717, allocations: 71.91 kB / 478.5 MB, free: 27.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.182e-05/0.007788, allocations: 119.2 kB / 478.6 MB, free: 27.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.007792, allocations: 0 / 478.6 MB, free: 27.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001356/0.007927, allocations: 163.9 kB / 478.8 MB, free: 27.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.007964, allocations: 34.28 kB / 478.8 MB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.007971, allocations: 3.438 kB / 478.8 MB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.007994, allocations: 0 / 478.8 MB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.00805, allocations: 8 kB / 478.8 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.008057, allocations: 2.625 kB / 478.8 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.008119, allocations: 9.797 kB / 478.8 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.008128, allocations: 12.59 kB / 478.8 MB, free: 27.7 MB / 426.7 MB 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.0001035/0.008231, allocations: 143.4 kB / 479 MB, free: 27.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.008249, allocations: 13.14 kB / 479 MB, free: 27.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.008277, allocations: 14.62 kB / 479 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.008282, allocations: 3.984 kB / 479 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.008288, allocations: 64 / 479 MB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.008294, allocations: 4 kB / 479 MB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.008665, allocations: 371.8 kB / 479.4 MB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.008667, allocations: 4.219 kB / 479.4 MB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-06/0.008675, allocations: 3.938 kB / 479.4 MB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.008678, allocations: 4.094 kB / 479.4 MB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.008687, allocations: 0 / 479.4 MB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.008689, allocations: 0 / 479.4 MB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.008691, allocations: 6.562 kB / 479.4 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.008863, allocations: 266.5 kB / 479.6 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.008879, allocations: 7.562 kB / 479.7 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.008898, allocations: 0 / 479.7 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.008991, allocations: 11.09 kB / 479.7 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.009049, allocations: 10.06 kB / 479.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.00907, allocations: 3.719 kB / 479.7 MB, free: 26.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.957e-05/0.009119, allocations: 88.31 kB / 479.8 MB, free: 26.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009119, allocations: 1.438 kB / 479.8 MB, free: 26.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.009291, allocations: 13.62 kB / 479.8 MB, free: 26.88 MB / 426.7 MB 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.0001254/0.009416, allocations: 104.4 kB / 479.9 MB, free: 26.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.009623, allocations: 164.8 kB / 480 MB, free: 26.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.009626, allocations: 2.125 kB / 480 MB, free: 26.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.066e-05/0.009696, allocations: 108.4 kB / 480.1 MB, free: 26.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.009997, allocations: 20.8 kB / 480.2 MB, free: 26.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.0104, allocations: 184.7 kB / 480.4 MB, free: 26.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.649e-05/0.01045, allocations: 73.08 kB / 480.4 MB, free: 26.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.175e-05/0.01049, allocations: 11.25 kB / 480.4 MB, free: 26.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.01052, allocations: 11.25 kB / 480.4 MB, free: 26.29 MB / 426.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01052, allocations: 0 / 480.4 MB, free: 26.29 MB / 426.7 MB Notification: Performance of Templates: time 0.003071/0.01359, allocations: 0.9485 MB / 481.4 MB, free: 26.19 MB / 426.7 MB " [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 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.447534153237939] Failed to read output from testmodel.py, exit status != 0: 0.020209601148962975 0.031713000000000005 0.02456397 Calling exit ...