Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007928/0.0007928, allocations: 88.41 kB / 15.36 MB, free: 0.7383 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.005252/0.005252, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.584/1.584, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005981/0.0005982, allocations: 15.34 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2978, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001718/0.2996, allocations: 1.144 MB / 0.789 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000895/0.3005, allocations: 481 kB / 0.7894 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.3005, allocations: 0 / 0.7894 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.3006, allocations: 3.938 kB / 0.7894 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.3007, allocations: 11.92 kB / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.3008, allocations: 8 kB / 0.7895 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3009, allocations: 47.78 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.301, allocations: 11.98 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.3011, allocations: 19.98 kB / 0.7895 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.3012, allocations: 19.86 kB / 0.7896 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.3012, allocations: 0 / 0.7896 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.3012, allocations: 7.938 kB / 0.7896 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.3013, allocations: 7.938 kB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.3013, allocations: 49.56 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.3014, allocations: 36.16 kB / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3015, allocations: 0 / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3015, allocations: 0 / 0.7897 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.3015, allocations: 4 kB / 0.7897 GB, free: 9.75 MB / 0.6075 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.0006551/0.3021, allocations: 389.1 kB / 0.79 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3022, allocations: 8.031 kB / 0.79 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.3022, allocations: 8.844 kB / 0.79 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.3024, allocations: 172.3 kB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3024, allocations: 4.375 kB / 0.7902 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.3024, allocations: 4.375 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.3026, allocations: 54 kB / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3026, allocations: 4 kB / 0.7903 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3026, allocations: 0 / 0.7903 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3026, allocations: 0 / 0.7903 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.93e-05/0.3027, allocations: 19.92 kB / 0.7903 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3031, allocations: 280.7 kB / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.934e-05/0.3032, allocations: 42.56 kB / 0.7906 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.3033, allocations: 16.98 kB / 0.7906 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.3033, allocations: 11.97 kB / 0.7906 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.3035, allocations: 97.03 kB / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.3035, allocations: 0 / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002805/0.3038, allocations: 143.2 kB / 0.7909 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.3039, allocations: 81.11 kB / 0.7909 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.304, allocations: 109.8 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.304, allocations: 37.64 kB / 0.7911 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.102e-05/0.3041, allocations: 84.12 kB / 0.7912 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3041, allocations: 23.81 kB / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.3041, allocations: 17.72 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3043, allocations: 327 kB / 0.7915 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.3043, allocations: 12 kB / 0.7915 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.3044, allocations: 46.5 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3045, allocations: 109.9 kB / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3045, allocations: 0 / 0.7917 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001545/0.3046, allocations: 123.2 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.3047, allocations: 33.7 kB / 0.7918 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3047, allocations: 0 / 0.7918 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3047, allocations: 0 / 0.7918 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/0.3048, allocations: 12.05 kB / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3048, allocations: 0 / 0.7918 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.811e-05/0.3049, allocations: 12 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3049, allocations: 4 kB / 0.7918 GB, free: 7.219 MB / 0.6075 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 0.0001239/0.305, allocations: 158.2 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.305, allocations: 7.906 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.3051, allocations: 8.375 kB / 0.792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3051, allocations: 0 / 0.792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3051, allocations: 4 kB / 0.792 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3051, allocations: 64 / 0.792 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.3055, allocations: 404.1 kB / 0.7924 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3055, allocations: 3.984 kB / 0.7924 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-06/0.3056, allocations: 4 kB / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3056, allocations: 0 / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.3056, allocations: 0 / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3056, allocations: 480 / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3056, allocations: 0 / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.3058, allocations: 241 kB / 0.7926 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.3058, allocations: 81.11 kB / 0.7927 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3059, allocations: 0 / 0.7927 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.306, allocations: 15.92 kB / 0.7927 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.306, allocations: 11.92 kB / 0.7927 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3061, allocations: 8.094 kB / 0.7927 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.3061, allocations: 95.27 kB / 0.7928 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3061, allocations: 4 kB / 0.7928 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002275/0.3064, allocations: 16 kB / 0.7929 GB, free: 6.062 MB / 0.6075 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 0.0001017/0.3065, allocations: 98.06 kB / 0.793 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001783/0.3067, allocations: 115.3 kB / 0.7931 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3067, allocations: 4 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.3068, allocations: 91.31 kB / 0.7932 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3071, allocations: 20.11 kB / 0.7932 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.3074, allocations: 164.6 kB / 0.7933 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.3077, allocations: 0.6872 MB / 0.794 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.3077, allocations: 7.781 kB / 0.794 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.3078, allocations: 15.44 kB / 0.794 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.3078, allocations: 0 / 0.794 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of Templates: time 0.00317/0.3109, allocations: 0.7641 MB / 0.7948 GB, free: 4.027 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) Environment - environmentSimulation: