Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002869/0.0002869, allocations: 0 / 0, free: 0 / 0 " [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.0002317/0.0002317, allocations: 0 / 0, free: 0 / 0 " [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.1255/0.1255, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0003935/0.0003935, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.09149/0.09149, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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: simulate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Discrete.Examples.BooleanDelay",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 8.41e-07/8.41e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.724e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Discrete.Examples.BooleanDelay): time 0.002076/0.002094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0008459/0.002939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.002962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.002987, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.003058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.003158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.003235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.003276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 7.532e-05/0.003352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.003388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.003404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 7.554e-06/0.003412, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.003431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.003455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 7.273e-05/0.003528, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.003536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.452e-06/0.003537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.961e-06/0.003543, allocations: 0 / 0, free: 0 / 0 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.0004631/0.004006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.004062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.004106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 5.66e-05/0.004163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.004186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.004209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.004331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.004337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.004356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-06/0.004358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.004391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.004612, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.004663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.004688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.004702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.513e-05/0.004797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=9): time 2.665e-06/0.0048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=9): time 0.0002222/0.005022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.005044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.557e-05/0.00508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.005106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 1.699e-05/0.005123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.005147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.00519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.291e-05/0.005213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.005232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.00526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 5.724e-05/0.005318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.00532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001273/0.005447, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.005468, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.005482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.922e-05/0.005511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.005518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.375e-05/0.005572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.005587, allocations: 0 / 0, free: 0 / 0 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 8.511e-05/0.005672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.00569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.005734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.005737, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.005742, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.005745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.006054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.006057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-06/0.006063, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.006066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.006084, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.006087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.006244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.006262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.006314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.006403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.006449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.006466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 1.63e-05/0.006482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.633e-06/0.006484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0004267/0.006911, allocations: 0 / 0, free: 0 / 0 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.992e-05/0.007001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001509/0.007152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 4.694e-05/0.0072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.007715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.007961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.481e-05/0.007986, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 2.311e-05/0.008009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.008094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.583e-05/0.00811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.000499/0.008609, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.7719462742097676]