Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001868/0.001868, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.002566/0.002566, allocations: 192 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8016/0.8016, allocations: 126.7 MB / 417.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.89 kB / 0.4957 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.381, allocations: 78.87 MB / 0.5728 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.003183/0.3842, allocations: 1.412 MB / 0.5741 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000792/0.385, allocations: 427.7 kB / 0.5745 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.3851, allocations: 1.812 kB / 0.5745 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.3851, allocations: 5.391 kB / 0.5745 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.3853, allocations: 8 kB / 0.5746 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.3855, allocations: 23.69 kB / 0.5746 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.3856, allocations: 56.11 kB / 0.5746 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3857, allocations: 13.11 kB / 0.5746 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.3858, allocations: 18.44 kB / 0.5747 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.3859, allocations: 19.58 kB / 0.5747 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.3859, allocations: 3.406 kB / 0.5747 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.3859, allocations: 9.125 kB / 0.5747 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.386, allocations: 6.562 kB / 0.5747 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.331e-05/0.386, allocations: 25.73 kB / 0.5747 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.3862, allocations: 38.69 kB / 0.5748 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3862, allocations: 0 / 0.5748 GB, free: 29.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3862, allocations: 2.125 kB / 0.5748 GB, free: 29.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3862, allocations: 0 / 0.5748 GB, free: 29.49 MB / 446.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.0006676/0.3869, allocations: 400.1 kB / 0.5751 GB, free: 29.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3869, allocations: 9.25 kB / 0.5752 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.387, allocations: 5.625 kB / 0.5752 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3871, allocations: 169.1 kB / 0.5753 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3872, allocations: 2.125 kB / 0.5753 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.3872, allocations: 5.859 kB / 0.5753 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3873, allocations: 55.09 kB / 0.5754 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3874, allocations: 0 / 0.5754 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3874, allocations: 2.734 kB / 0.5754 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3874, allocations: 3.938 kB / 0.5754 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/0.3875, allocations: 18.17 kB / 0.5754 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.3879, allocations: 279.3 kB / 0.5757 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.367e-05/0.388, allocations: 40.64 kB / 0.5757 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.3881, allocations: 23.02 kB / 0.5757 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3881, allocations: 5.312 kB / 0.5757 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.3883, allocations: 110.2 kB / 0.5758 GB, free: 28.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3883, allocations: 1.75 kB / 0.5758 GB, free: 28.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003198/0.3887, allocations: 140.5 kB / 0.576 GB, free: 28.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3887, allocations: 80.66 kB / 0.5761 GB, free: 28.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.3888, allocations: 111.6 kB / 0.5762 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3888, allocations: 28.44 kB / 0.5762 GB, free: 28.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.3889, allocations: 91.3 kB / 0.5763 GB, free: 27.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3889, allocations: 16.7 kB / 0.5763 GB, free: 27.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.389, allocations: 29.81 kB / 0.5763 GB, free: 27.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.389, allocations: 322.2 kB / 0.5766 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.3891, allocations: 15.48 kB / 0.5766 GB, free: 27.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.743e-05/0.3891, allocations: 34.66 kB / 0.5767 GB, free: 27.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3892, allocations: 119.5 kB / 0.5768 GB, free: 27.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3893, allocations: 1.375 kB / 0.5768 GB, free: 27.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001599/0.3894, allocations: 119.2 kB / 0.5769 GB, free: 27.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.73e-05/0.3895, allocations: 34 kB / 0.5769 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3895, allocations: 2.125 kB / 0.5769 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3895, allocations: 1.953 kB / 0.5769 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.675e-05/0.3896, allocations: 3.359 kB / 0.5769 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3896, allocations: 2.469 kB / 0.5769 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.3896, allocations: 15.41 kB / 0.577 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.3897, allocations: 7.5 kB / 0.577 GB, free: 27.36 MB / 446.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 9.184e-05/0.3898, allocations: 155.1 kB / 0.5771 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.3898, allocations: 3.875 kB / 0.5771 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.3898, allocations: 10.31 kB / 0.5771 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3898, allocations: 6.359 kB / 0.5771 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3898, allocations: 0 / 0.5771 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3898, allocations: 1.922 kB / 0.5771 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.3902, allocations: 412.7 kB / 0.5775 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3902, allocations: 1.469 kB / 0.5775 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.836e-06/0.3902, allocations: 1.797 kB / 0.5775 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3903, allocations: 0.8438 kB / 0.5775 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3903, allocations: 7.172 kB / 0.5775 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3903, allocations: 3.938 kB / 0.5775 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3903, allocations: 2.422 kB / 0.5775 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.3905, allocations: 231.2 kB / 0.5778 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.3905, allocations: 86.81 kB / 0.5778 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.3905, allocations: 3.016 kB / 0.5778 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3906, allocations: 9.359 kB / 0.5779 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.3907, allocations: 9.766 kB / 0.5779 GB, free: 26.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3907, allocations: 8.25 kB / 0.5779 GB, free: 26.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.132e-05/0.3908, allocations: 85.05 kB / 0.578 GB, free: 26.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3908, allocations: 0 / 0.578 GB, free: 26.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000238/0.391, allocations: 18.03 kB / 0.578 GB, free: 26.43 MB / 446.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 9.909e-05/0.3911, allocations: 98.81 kB / 0.5781 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3914, allocations: 123.7 kB / 0.5782 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3914, allocations: 1.25 kB / 0.5782 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.3915, allocations: 92.67 kB / 0.5783 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.3918, allocations: 14.06 kB / 0.5783 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.3921, allocations: 148.7 kB / 0.5784 GB, free: 26.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.3922, allocations: 0.6862 MB / 0.5791 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.71e-05/0.3923, allocations: 4.672 kB / 0.5791 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.365e-05/0.3923, allocations: 11.34 kB / 0.5791 GB, free: 25.35 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3923, allocations: 0.9688 kB / 0.5791 GB, free: 25.35 MB / 446.1 MB Notification: Performance of Templates: time 0.003858/0.3962, allocations: 0.8694 MB / 0.58 GB, free: 25.17 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)