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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.621/0.621, allocations: 94.7 MB / 107.3 MB, free: 5.191 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002/0.002, allocations: 164 kB / 130.7 MB, free: 7.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.902/1.902, allocations: 170.5 MB / 324.5 MB, free: 4.004 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001857/0.001857, allocations: 102 kB / 386.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.43e-05/6.433e-05, allocations: 7.984 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5929/0.593, allocations: 61.51 MB / 0.5054 GB, free: 49.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/0.7745, allocations: 94.33 MB / 0.5975 GB, free: 1.246 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.7749, allocations: 68.56 kB / 0.5976 GB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003858/0.7788, allocations: 1.114 MB / 0.5986 GB, free: 100 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.7789, allocations: 0 / 0.5986 GB, free: 100 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.7789, allocations: 0 / 0.5986 GB, free: 100 kB / 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.0005872/0.7795, allocations: 378.4 kB / 0.599 GB, free: 15.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.7795, allocations: 11.95 kB / 0.599 GB, free: 15.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.7796, allocations: 8.469 kB / 0.599 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.7798, allocations: 167 kB / 0.5992 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.7798, allocations: 8.516 kB / 0.5992 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.7799, allocations: 8.5 kB / 0.5992 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.78, allocations: 57.5 kB / 0.5993 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.78, allocations: 0 / 0.5993 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.7801, allocations: 2.094 kB / 0.5993 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7801, allocations: 0 / 0.5993 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.105e-05/0.7801, allocations: 16 kB / 0.5993 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.7806, allocations: 266.8 kB / 0.5995 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.7808, allocations: 52.12 kB / 0.5996 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.728e-05/0.7808, allocations: 21.61 kB / 0.5996 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.7809, allocations: 3.984 kB / 0.5996 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.7811, allocations: 101 kB / 0.5997 GB, free: 14.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.7811, allocations: 0 / 0.5997 GB, free: 14.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002699/0.7813, allocations: 122.3 kB / 0.5998 GB, free: 14.74 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.7814, allocations: 77.11 kB / 0.5999 GB, free: 14.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.7815, allocations: 103 kB / 0.6 GB, free: 14.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.7816, allocations: 34.52 kB / 0.6 GB, free: 14.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.7816, allocations: 84.05 kB / 0.6001 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.7817, allocations: 20.72 kB / 0.6001 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.7817, allocations: 0 / 0.6001 GB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.7819, allocations: 323.8 kB / 0.6004 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.7819, allocations: 14.84 kB / 0.6004 GB, free: 14.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.639e-05/0.782, allocations: 36.62 kB / 0.6005 GB, free: 14.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.803e-05/0.782, allocations: 51.25 kB / 0.6005 GB, free: 13.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7821, allocations: 0 / 0.6005 GB, free: 13.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001658/0.7822, allocations: 123.3 kB / 0.6006 GB, free: 13.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/0.7823, allocations: 29.7 kB / 0.6007 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7823, allocations: 5.625 kB / 0.6007 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.7823, allocations: 3.984 kB / 0.6007 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.7824, allocations: 4 kB / 0.6007 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.7824, allocations: 0 / 0.6007 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.7825, allocations: 13.12 kB / 0.6007 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.7825, allocations: 4 kB / 0.6007 GB, free: 13.77 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: del.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.7827, allocations: 145.1 kB / 0.6008 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.7827, allocations: 7.953 kB / 0.6008 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.7827, allocations: 8.625 kB / 0.6009 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.7828, allocations: 4 kB / 0.6009 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.7828, allocations: 0 / 0.6009 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.7828, allocations: 1.219 kB / 0.6009 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.7832, allocations: 397.2 kB / 0.6012 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.7833, allocations: 0.875 kB / 0.6012 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-06/0.7833, allocations: 3.984 kB / 0.6012 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7833, allocations: 4.062 kB / 0.6012 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.7833, allocations: 4 kB / 0.6012 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.7833, allocations: 0 / 0.6012 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.7833, allocations: 3.938 kB / 0.6013 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.7836, allocations: 233 kB / 0.6015 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.7837, allocations: 89.72 kB / 0.6016 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.7837, allocations: 0 / 0.6016 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.7838, allocations: 19.98 kB / 0.6016 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.649e-05/0.7839, allocations: 9.297 kB / 0.6016 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.7839, allocations: 4 kB / 0.6016 GB, free: 12.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.568e-05/0.7839, allocations: 85.97 kB / 0.6017 GB, free: 12.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7839, allocations: 0 / 0.6017 GB, free: 12.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.7842, allocations: 16 kB / 0.6017 GB, free: 12.66 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.pulsStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.7843, allocations: 105.1 kB / 0.6018 GB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.7845, allocations: 119.3 kB / 0.6019 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7845, allocations: 0 / 0.6019 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.7846, allocations: 84.97 kB / 0.602 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.7849, allocations: 20.42 kB / 0.602 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.7852, allocations: 103.6 kB / 0.6021 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.7856, allocations: 0.692 MB / 0.6028 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.615e-05/0.7856, allocations: 8.125 kB / 0.6028 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.434e-05/0.7856, allocations: 15.42 kB / 0.6028 GB, free: 11.45 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7857, allocations: 0 / 0.6028 GB, free: 11.45 MB / 426.7 MB Notification: Performance of Templates: time 0.002999/0.7887, allocations: 0.7198 MB / 0.6035 GB, free: 10.78 MB / 426.7 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)