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.0009104/0.0009104, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000788/0.000788, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.9142/0.9142, allocations: 177.1 MB / 203.5 MB, free: 5.605 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.5482/0.5482, allocations: 110.2 MB / 370.2 MB, free: 12.63 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 1.363e-06/1.363e-06, allocations: 0 / 0.5484 GB, free: 9.391 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.28e-05, allocations: 2.281 kB / 0.5484 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001905/0.001928, allocations: 1.436 MB / 0.5498 GB, free: 7.938 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006565/0.002585, allocations: 454.7 kB / 0.5503 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.002627, allocations: 0 / 0.5503 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.002661, allocations: 3.938 kB / 0.5503 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.183e-05/0.002752, allocations: 11.97 kB / 0.5503 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.002924, allocations: 19.86 kB / 0.5503 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.003046, allocations: 47.86 kB / 0.5504 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.003151, allocations: 11.97 kB / 0.5504 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.315e-05/0.003234, allocations: 35.92 kB / 0.5504 GB, free: 7.359 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.003303, allocations: 11.92 kB / 0.5504 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.003326, allocations: 4 kB / 0.5504 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.003337, allocations: 4 kB / 0.5504 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.003366, allocations: 7.984 kB / 0.5504 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.003405, allocations: 15.94 kB / 0.5504 GB, free: 7.316 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.003533, allocations: 55.73 kB / 0.5505 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.003535, allocations: 0 / 0.5505 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.313e-06/0.003536, allocations: 0 / 0.5505 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.003542, allocations: 4 kB / 0.5505 GB, free: 7.258 MB / 0.5105 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.0006919/0.004233, allocations: 315.9 kB / 0.5508 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.004275, allocations: 12.03 kB / 0.5508 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.004312, allocations: 4.891 kB / 0.5508 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.779e-05/0.00441, allocations: 121.7 kB / 0.5509 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.004424, allocations: 4.375 kB / 0.5509 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.004434, allocations: 384 / 0.5509 GB, free: 6.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.004557, allocations: 83.95 kB / 0.551 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.004566, allocations: 192 / 0.551 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.004578, allocations: 384 / 0.551 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.004585, allocations: 7.938 kB / 0.551 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.004646, allocations: 53.62 kB / 0.5511 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.004985, allocations: 216.5 kB / 0.5513 GB, free: 6.348 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.196e-05/0.005067, allocations: 60.28 kB / 0.5513 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.005103, allocations: 50.66 kB / 0.5514 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.005123, allocations: 0 / 0.5514 GB, free: 6.215 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.005273, allocations: 142.6 kB / 0.5515 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 7.52e-07/0.005274, allocations: 0 / 0.5515 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002539/0.005528, allocations: 202.7 kB / 0.5517 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.005576, allocations: 81.11 kB / 0.5518 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.387e-05/0.00565, allocations: 113.8 kB / 0.5519 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.005661, allocations: 29.7 kB / 0.5519 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.005702, allocations: 88.12 kB / 0.552 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.005718, allocations: 11.91 kB / 0.552 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.005749, allocations: 25.72 kB / 0.5521 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.357e-05/0.005833, allocations: 322.8 kB / 0.5524 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.228e-05/0.005865, allocations: 41.69 kB / 0.5524 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.613e-05/0.005911, allocations: 72.48 kB / 0.5525 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.245e-05/0.005994, allocations: 114 kB / 0.5526 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.005996, allocations: 7.938 kB / 0.5526 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001195/0.006115, allocations: 164.9 kB / 0.5527 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.006144, allocations: 29.7 kB / 0.5528 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.006151, allocations: 4 kB / 0.5528 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.006163, allocations: 0 / 0.5528 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.172e-05/0.006205, allocations: 4 kB / 0.5528 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.006211, allocations: 0 / 0.5528 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.006255, allocations: 11.92 kB / 0.5528 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.006261, allocations: 4 kB / 0.5528 GB, free: 4.605 MB / 0.5105 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 7.871e-05/0.00634, allocations: 155.5 kB / 0.5529 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.00635, allocations: 15.88 kB / 0.553 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.006372, allocations: 4.438 kB / 0.553 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.006374, allocations: 0 / 0.553 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.006378, allocations: 4 kB / 0.553 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.006382, allocations: 0 / 0.553 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.006652, allocations: 369.5 kB / 0.5533 GB, free: 4.004 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.006654, allocations: 3.984 kB / 0.5533 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-06/0.006657, allocations: 0 / 0.5533 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.006659, allocations: 0 / 0.5533 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.006667, allocations: 4 kB / 0.5533 GB, free: 3.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006668, allocations: 4 kB / 0.5533 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006669, allocations: 0 / 0.5533 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.006812, allocations: 266.8 kB / 0.5536 GB, free: 3.703 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.006822, allocations: 11.95 kB / 0.5536 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.006837, allocations: 7.984 kB / 0.5536 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.006892, allocations: 8 kB / 0.5536 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.006943, allocations: 7.984 kB / 0.5536 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.006956, allocations: 0 / 0.5536 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.283e-05/0.006989, allocations: 91.27 kB / 0.5537 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.006989, allocations: 0 / 0.5537 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001478/0.007136, allocations: 23.94 kB / 0.5537 GB, free: 3.555 MB / 0.5105 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 7.943e-05/0.007216, allocations: 103.2 kB / 0.5538 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.007378, allocations: 166.7 kB / 0.554 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.00738, allocations: 0 / 0.554 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.007446, allocations: 113 kB / 0.5541 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.007653, allocations: 20.86 kB / 0.5541 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.007951, allocations: 208.2 kB / 0.5543 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.376e-05/0.008005, allocations: 79.45 kB / 0.5544 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.008032, allocations: 12.5 kB / 0.5544 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.008032, allocations: 0 / 0.5544 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of Templates: time 0.00179/0.009822, allocations: 0.9146 MB / 0.5553 GB, free: 1.848 MB / 0.5105 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: 5.016903750598431] Failed to read output from testmodel.py, exit status != 0: 0.014481867663562298 0.022618803 0.01744199 Calling exit ...