Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001142/0.001142, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00182/0.002962, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001239/0.001239, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001496/0.002735, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0974/1.129, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.934/1.934, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4896/2.423, allocations: 127.1 MB / 0.7432 GB, free: 4.605 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7444 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.309e-05, allocations: 5.75 kB / 0.7444 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001718/0.001732, allocations: 1.536 MB / 0.7459 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000505/0.002237, allocations: 465 kB / 0.7464 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.002266, allocations: 0.5312 kB / 0.7464 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.002286, allocations: 7.156 kB / 0.7464 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.002329, allocations: 15.27 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.811e-05/0.002397, allocations: 19.86 kB / 0.7464 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.002505, allocations: 58.69 kB / 0.7465 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.58e-05/0.002571, allocations: 7.984 kB / 0.7465 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/0.002644, allocations: 32.02 kB / 0.7465 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.002701, allocations: 18.06 kB / 0.7465 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.002718, allocations: 0 / 0.7465 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.002729, allocations: 4.594 kB / 0.7465 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.002747, allocations: 14.16 kB / 0.7465 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.002774, allocations: 12 kB / 0.7465 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.162e-05/0.002856, allocations: 31.91 kB / 0.7466 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.305e-05/0.002869, allocations: 1.906 kB / 0.7466 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002869, allocations: 0 / 0.7466 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.002884, allocations: 0 / 0.7466 GB, free: 1.195 MB / 0.7136 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.0004272/0.003311, allocations: 298.7 kB / 0.7469 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.537e-05/0.003336, allocations: 8.031 kB / 0.7469 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.003364, allocations: 9.484 kB / 0.7469 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.054e-05/0.003435, allocations: 111.2 kB / 0.747 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.003445, allocations: 8.375 kB / 0.747 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.003452, allocations: 384 / 0.747 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.093e-05/0.003533, allocations: 75.88 kB / 0.7471 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.003539, allocations: 1.156 kB / 0.7471 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003547, allocations: 4.375 kB / 0.7471 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.003552, allocations: 3.938 kB / 0.7471 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.003581, allocations: 34.3 kB / 0.7471 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.003791, allocations: 160.8 kB / 0.7473 GB, free: 424 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/0.003843, allocations: 56.94 kB / 0.7473 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.381e-05/0.003867, allocations: 42.55 kB / 0.7474 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.003882, allocations: 4.5 kB / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.003986, allocations: 132.3 kB / 0.7475 GB, free: 140 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.003987, allocations: 0 / 0.7475 GB, free: 140 kB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000146/0.004133, allocations: 166.6 kB / 0.7476 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.004171, allocations: 86.69 kB / 0.7477 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.296e-05/0.004224, allocations: 110.8 kB / 0.7478 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.004237, allocations: 33.69 kB / 0.7479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.004262, allocations: 88.12 kB / 0.748 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.004275, allocations: 19.83 kB / 0.748 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.004302, allocations: 28.14 kB / 0.748 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/0.004369, allocations: 314.8 kB / 0.7483 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.138e-05/0.004391, allocations: 41.69 kB / 0.7483 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.069e-05/0.004421, allocations: 56.27 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.617e-05/0.004477, allocations: 105.9 kB / 0.7485 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.004479, allocations: 2.062 kB / 0.7485 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.073e-05/0.00456, allocations: 129 kB / 0.7486 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-05/0.004647, allocations: 37.69 kB / 0.7487 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.004657, allocations: 3.938 kB / 0.7487 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.00467, allocations: 4.75 kB / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.004725, allocations: 12 kB / 0.7487 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.004729, allocations: 1.625 kB / 0.7487 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.004786, allocations: 7.953 kB / 0.7487 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.004792, allocations: 4 kB / 0.7487 GB, free: 14.77 MB / 0.7292 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 9.087e-05/0.004883, allocations: 156 kB / 0.7488 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.004908, allocations: 4 kB / 0.7488 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.004936, allocations: 20.36 kB / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.004938, allocations: 0 / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.00494, allocations: 0 / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.004943, allocations: 0 / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.005213, allocations: 282.1 kB / 0.7491 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.005214, allocations: 0 / 0.7491 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-06/0.005223, allocations: 7.438 kB / 0.7491 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.005234, allocations: 11.88 kB / 0.7491 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.005237, allocations: 4 kB / 0.7491 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.005244, allocations: 4 kB / 0.7492 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.005246, allocations: 0 / 0.7492 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.005248, allocations: 0 / 0.7492 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.005362, allocations: 226.8 kB / 0.7494 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.005381, allocations: 11.88 kB / 0.7494 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.005445, allocations: 8 kB / 0.7494 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.005477, allocations: 4.703 kB / 0.7494 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.005491, allocations: 4 kB / 0.7494 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.8e-05/0.005509, allocations: 13.53 kB / 0.7494 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.005509, allocations: 0.7812 kB / 0.7494 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001301/0.005639, allocations: 20 kB / 0.7494 GB, free: 13.94 MB / 0.7292 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 8.736e-05/0.005727, allocations: 84.17 kB / 0.7495 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.005867, allocations: 160.4 kB / 0.7497 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.005872, allocations: 0 / 0.7497 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.902e-05/0.005931, allocations: 119.2 kB / 0.7498 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.006101, allocations: 24.03 kB / 0.7498 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.00652, allocations: 190.6 kB / 0.75 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.006557, allocations: 63.34 kB / 0.75 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.006583, allocations: 1.031 kB / 0.75 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.006645, allocations: 67.36 kB / 0.7501 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of SimCode: time 8.22e-07/0.006646, allocations: 1.5 kB / 0.7501 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.002521/0.009166, allocations: 1.015 MB / 0.7511 GB, free: 12.19 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.922645907849073]