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.001559/0.001559, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.001729/0.001729, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.435/1.435, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.673/1.673, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001371/0.001371, allocations: 67.88 kB / 0.6716 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2336, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002683/0.2363, allocations: 1.486 MB / 0.785 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007467/0.2371, allocations: 484.8 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.2372, allocations: 0 / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.2372, allocations: 0 / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.575e-05/0.2373, allocations: 7.922 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.2375, allocations: 15.98 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2376, allocations: 55.78 kB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.2377, allocations: 8 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.2378, allocations: 19.92 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.453e-05/0.2378, allocations: 19.86 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2379, allocations: 8 kB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.2379, allocations: 4 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.372e-05/0.2379, allocations: 4 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.238, allocations: 27.84 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.124e-05/0.238, allocations: 28.25 kB / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2381, allocations: 0 / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2381, allocations: 0 / 0.7856 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2381, allocations: 0 / 0.7856 GB, free: 11.73 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.0005911/0.2387, allocations: 401 kB / 0.786 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2387, allocations: 8.031 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.2388, allocations: 4.938 kB / 0.786 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.2389, allocations: 172.2 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2389, allocations: 4.312 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.2389, allocations: 4.375 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.239, allocations: 61.97 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2391, allocations: 0 / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.2391, allocations: 0 / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.2391, allocations: 4 kB / 0.7862 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.621e-05/0.2392, allocations: 23.98 kB / 0.7863 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.2396, allocations: 268.8 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/0.2397, allocations: 38.52 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.2397, allocations: 24.97 kB / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.2397, allocations: 4 kB / 0.7866 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.2399, allocations: 97.09 kB / 0.7867 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.2399, allocations: 0 / 0.7867 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002716/0.2402, allocations: 147.2 kB / 0.7868 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.2403, allocations: 81.09 kB / 0.7869 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.2403, allocations: 117.9 kB / 0.787 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2404, allocations: 25.7 kB / 0.787 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.2404, allocations: 84.22 kB / 0.7871 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.2405, allocations: 27.73 kB / 0.7871 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.2405, allocations: 29.64 kB / 0.7872 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2406, allocations: 322.8 kB / 0.7875 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.2407, allocations: 15.98 kB / 0.7875 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.123e-05/0.2407, allocations: 46.44 kB / 0.7875 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.509e-05/0.2408, allocations: 110 kB / 0.7876 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2408, allocations: 0 / 0.7876 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001456/0.241, allocations: 123.2 kB / 0.7878 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.241, allocations: 33.7 kB / 0.7878 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.241, allocations: 0 / 0.7878 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.241, allocations: 0 / 0.7878 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.275e-05/0.2411, allocations: 8 kB / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2411, allocations: 8 kB / 0.7878 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.358e-05/0.2412, allocations: 11.98 kB / 0.7878 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2412, allocations: 4.062 kB / 0.7878 GB, free: 9.18 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.0001042/0.2413, allocations: 153.4 kB / 0.788 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.2413, allocations: 7.906 kB / 0.788 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.2414, allocations: 16.36 kB / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2414, allocations: 0 / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2414, allocations: 0 / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2414, allocations: 0 / 0.788 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.2418, allocations: 400.1 kB / 0.7884 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2418, allocations: 4 kB / 0.7884 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-06/0.2418, allocations: 0 / 0.7884 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2418, allocations: 7.938 kB / 0.7884 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2418, allocations: 0 / 0.7884 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2418, allocations: 0 / 0.7884 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2418, allocations: 4.359 kB / 0.7884 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.242, allocations: 237 kB / 0.7886 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.2421, allocations: 85.02 kB / 0.7887 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.2421, allocations: 4 kB / 0.7887 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.925e-05/0.2422, allocations: 7.984 kB / 0.7887 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.2423, allocations: 15.88 kB / 0.7887 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.2423, allocations: 4 kB / 0.7887 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.2424, allocations: 99.19 kB / 0.7888 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2424, allocations: 0 / 0.7888 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000227/0.2426, allocations: 12 kB / 0.7888 GB, free: 8.031 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.0001049/0.2427, allocations: 107.2 kB / 0.7889 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.2429, allocations: 119.3 kB / 0.789 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2429, allocations: 0 / 0.789 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.243, allocations: 87.39 kB / 0.7891 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.2433, allocations: 15.98 kB / 0.7891 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.2437, allocations: 195.2 kB / 0.7893 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.2439, allocations: 0.6846 MB / 0.79 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.244, allocations: 11.44 kB / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.244, allocations: 0 / 0.79 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.002336/0.2463, allocations: 0.8952 MB / 0.7909 GB, free: 5.836 MB / 0.6075 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)