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.001474/0.001474, allocations: 108.2 kB / 16.37 MB, free: 5.996 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.0016/0.0016, allocations: 191.4 kB / 17.31 MB, free: 5.605 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.393/1.393, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.882/1.882, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001465/0.001465, allocations: 64.11 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2419, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002679/0.2446, allocations: 1.434 MB / 0.7862 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.2454, allocations: 479.7 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.301e-05/0.2455, allocations: 0 / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.2455, allocations: 3.938 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.781e-05/0.2456, allocations: 11.92 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.2458, allocations: 19.92 kB / 0.7867 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2459, allocations: 55.83 kB / 0.7867 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.246, allocations: 8 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.182e-05/0.2461, allocations: 23.86 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.2461, allocations: 19.92 kB / 0.7868 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.2462, allocations: 4 kB / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.2462, allocations: 4 kB / 0.7868 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.2462, allocations: 7.938 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.441e-05/0.2463, allocations: 19.92 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2464, allocations: 47.81 kB / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2464, allocations: 0 / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2464, allocations: 0 / 0.7868 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2464, allocations: 0 / 0.7868 GB, free: 1.062 MB / 0.6544 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.000664/0.2471, allocations: 393.1 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2471, allocations: 8.031 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.2472, allocations: 8.844 kB / 0.7872 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.2473, allocations: 176.2 kB / 0.7874 GB, free: 408 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.2474, allocations: 8.312 kB / 0.7874 GB, free: 400 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.2474, allocations: 4.375 kB / 0.7874 GB, free: 396 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.2475, allocations: 50 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2475, allocations: 0 / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2475, allocations: 8 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2476, allocations: 0 / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.459e-05/0.2476, allocations: 19.98 kB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4402/0.6878, allocations: 268.6 kB / 0.7877 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.688, allocations: 42.34 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.337e-05/0.6881, allocations: 23.11 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.6881, allocations: 3.5 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/0.6884, allocations: 101.2 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 3.396e-06/0.6884, allocations: 0 / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003094/0.6887, allocations: 150.1 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.6888, allocations: 80.05 kB / 0.7881 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.6889, allocations: 111.6 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.6889, allocations: 28.7 kB / 0.7883 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.6889, allocations: 85.09 kB / 0.7883 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.689, allocations: 28.3 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.689, allocations: 19.41 kB / 0.7884 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.6891, allocations: 324.3 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.6891, allocations: 16.45 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.258e-05/0.6892, allocations: 36.33 kB / 0.7888 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.6893, allocations: 114.5 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6893, allocations: 2.625 kB / 0.7889 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00014/0.6894, allocations: 130.9 kB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.6895, allocations: 31.83 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.6895, allocations: 1.562 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6895, allocations: 6.828 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.6896, allocations: 2.625 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6896, allocations: 0 / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.369e-05/0.6897, allocations: 18.38 kB / 0.789 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.6897, allocations: 2.625 kB / 0.789 GB, free: 47.8 MB / 0.6544 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 8.478e-05/0.6898, allocations: 147.9 kB / 0.7892 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.6898, allocations: 9.094 kB / 0.7892 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.6898, allocations: 12.91 kB / 0.7892 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6898, allocations: 4.406 kB / 0.7892 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6898, allocations: 0 / 0.7892 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6898, allocations: 3.938 kB / 0.7892 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.6902, allocations: 394.9 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6902, allocations: 5.062 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-06/0.6902, allocations: 3.422 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6902, allocations: 0 / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.6903, allocations: 9.938 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.6903, allocations: 2.688 kB / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6903, allocations: 0 / 0.7896 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.6905, allocations: 229.1 kB / 0.7898 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.6905, allocations: 85.27 kB / 0.7899 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.6905, allocations: 7.562 kB / 0.7899 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.6906, allocations: 11.05 kB / 0.7899 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.6907, allocations: 9.172 kB / 0.7899 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.6907, allocations: 5.125 kB / 0.7899 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.243e-05/0.6908, allocations: 90.3 kB / 0.79 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.81e-07/0.6908, allocations: 0 / 0.79 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002374/0.691, allocations: 14.61 kB / 0.79 GB, free: 46.98 MB / 0.6544 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 9.39e-05/0.6911, allocations: 98.25 kB / 0.7901 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001701/0.6913, allocations: 115.5 kB / 0.7903 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6913, allocations: 4 kB / 0.7903 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.6914, allocations: 89.78 kB / 0.7903 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.6917, allocations: 15.98 kB / 0.7904 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.692, allocations: 175.1 kB / 0.7905 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.6922, allocations: 0.6882 MB / 0.7912 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.6922, allocations: 14.09 kB / 0.7912 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6922, allocations: 0 / 0.7912 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.00227/0.6945, allocations: 0.9054 MB / 0.7921 GB, free: 45.92 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (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)