Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002058/0.002058, allocations: 194.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5891/0.5891, allocations: 95.47 MB / 364.8 MB, free: 10.12 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 59.92 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3078, allocations: 69.07 MB / 0.5017 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002752/0.3106, allocations: 1.468 MB / 0.5031 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007828/0.3114, allocations: 479.6 kB / 0.5036 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.161e-05/0.3115, allocations: 4 kB / 0.5036 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.3115, allocations: 0 / 0.5036 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.331e-05/0.3117, allocations: 7.922 kB / 0.5036 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.3118, allocations: 15.98 kB / 0.5036 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.839e-05/0.3119, allocations: 47.8 kB / 0.5037 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.146e-05/0.312, allocations: 8 kB / 0.5037 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.312, allocations: 23.86 kB / 0.5037 GB, free: 15.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.3121, allocations: 19.91 kB / 0.5037 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3121, allocations: 3.938 kB / 0.5037 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.3122, allocations: 4 kB / 0.5037 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.3122, allocations: 3.984 kB / 0.5037 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.3122, allocations: 19.88 kB / 0.5037 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.029e-05/0.3123, allocations: 41.86 kB / 0.5038 GB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3123, allocations: 0 / 0.5038 GB, free: 15.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3123, allocations: 0 / 0.5038 GB, free: 15.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.3123, allocations: 4 kB / 0.5038 GB, free: 15.46 MB / 382.1 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.0004902/0.3128, allocations: 393 kB / 0.5041 GB, free: 15.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3129, allocations: 15.98 kB / 0.5042 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.3129, allocations: 0.9375 kB / 0.5042 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.901e-05/0.313, allocations: 176.2 kB / 0.5043 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.313, allocations: 384 / 0.5043 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.3131, allocations: 12.36 kB / 0.5043 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3132, allocations: 58 kB / 0.5044 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3132, allocations: 0 / 0.5044 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3132, allocations: 0 / 0.5044 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3132, allocations: 7.984 kB / 0.5044 GB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.3133, allocations: 16 kB / 0.5044 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003082/0.3136, allocations: 268.8 kB / 0.5047 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.3137, allocations: 50.5 kB / 0.5047 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.3137, allocations: 20.98 kB / 0.5047 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.3137, allocations: 0 / 0.5047 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.3139, allocations: 97.08 kB / 0.5048 GB, free: 14.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.3139, allocations: 0 / 0.5048 GB, free: 14.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002477/0.3142, allocations: 147.3 kB / 0.505 GB, free: 14.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3142, allocations: 77.11 kB / 0.5051 GB, free: 13.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.287e-05/0.3143, allocations: 117.8 kB / 0.5052 GB, free: 13.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.3143, allocations: 25.7 kB / 0.5052 GB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.3144, allocations: 84.14 kB / 0.5053 GB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.3144, allocations: 19.73 kB / 0.5053 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3144, allocations: 26 kB / 0.5053 GB, free: 13.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.936e-05/0.3145, allocations: 326.8 kB / 0.5056 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.26e-05/0.3145, allocations: 12 kB / 0.5056 GB, free: 13.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.3146, allocations: 50.38 kB / 0.5057 GB, free: 13.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.426e-05/0.3146, allocations: 106 kB / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3147, allocations: 0 / 0.5058 GB, free: 13.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001291/0.3148, allocations: 131.2 kB / 0.5059 GB, free: 12.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3148, allocations: 29.7 kB / 0.5059 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3148, allocations: 4.078 kB / 0.5059 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3148, allocations: 0 / 0.5059 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.3149, allocations: 15.98 kB / 0.506 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3149, allocations: 3.984 kB / 0.506 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.315, allocations: 4.312 kB / 0.506 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.315, allocations: 8 kB / 0.506 GB, free: 12.92 MB / 382.1 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 7.87e-05/0.3151, allocations: 151.5 kB / 0.5061 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.3151, allocations: 7.906 kB / 0.5061 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.3151, allocations: 4.375 kB / 0.5061 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3151, allocations: 4 kB / 0.5061 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3152, allocations: 8 kB / 0.5061 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3152, allocations: 0 / 0.5061 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.3155, allocations: 392.2 kB / 0.5065 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3155, allocations: 4 kB / 0.5065 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-06/0.3155, allocations: 4 kB / 0.5065 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3155, allocations: 3.938 kB / 0.5065 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.3155, allocations: 3.984 kB / 0.5065 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3155, allocations: 4 kB / 0.5065 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3155, allocations: 0 / 0.5065 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.3157, allocations: 237.1 kB / 0.5068 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.3157, allocations: 84.95 kB / 0.5068 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.3158, allocations: 4 kB / 0.5068 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.3159, allocations: 11.98 kB / 0.5069 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.3159, allocations: 15.95 kB / 0.5069 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.3159, allocations: 11.88 kB / 0.5069 GB, free: 11.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.439e-05/0.316, allocations: 83.28 kB / 0.507 GB, free: 11.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.316, allocations: 4 kB / 0.507 GB, free: 11.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.3162, allocations: 12 kB / 0.507 GB, free: 11.77 MB / 382.1 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 7.173e-05/0.3163, allocations: 111.2 kB / 0.5071 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.3165, allocations: 111.3 kB / 0.5072 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3165, allocations: 0 / 0.5072 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.3165, allocations: 87.39 kB / 0.5073 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.3168, allocations: 20.11 kB / 0.5073 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.3171, allocations: 155.3 kB / 0.5074 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.3172, allocations: 0.6809 MB / 0.5081 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.565e-05/0.3172, allocations: 4 kB / 0.5081 GB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.3173, allocations: 11.44 kB / 0.5081 GB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3173, allocations: 7.938 kB / 0.5081 GB, free: 10.5 MB / 382.1 MB Notification: Performance of Templates: time 0.002697/0.32, allocations: 0.7529 MB / 0.5089 GB, free: 9.762 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)