Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001054/0.001054, allocations: 115.5 kB / 16.37 MB, free: 6.012 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.001117/0.001117, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.77/0.77, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.91 kB / 0.5068 GB, free: 7.652 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3381, allocations: 80.9 MB / 0.5858 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002306/0.3404, allocations: 1.42 MB / 0.5871 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005755/0.341, allocations: 436.3 kB / 0.5876 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.083e-05/0.3411, allocations: 1.406 kB / 0.5876 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.3411, allocations: 4.594 kB / 0.5876 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.559e-05/0.3412, allocations: 9.453 kB / 0.5876 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.3413, allocations: 25.11 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.3414, allocations: 52.16 kB / 0.5877 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.3415, allocations: 8.922 kB / 0.5877 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.3416, allocations: 27.36 kB / 0.5877 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.3417, allocations: 19.02 kB / 0.5877 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3417, allocations: 7.656 kB / 0.5877 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.3417, allocations: 3.812 kB / 0.5877 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.3417, allocations: 6.469 kB / 0.5877 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.3418, allocations: 23.17 kB / 0.5877 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.461e-05/0.3419, allocations: 39.12 kB / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3419, allocations: 1.281 kB / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3419, allocations: 0.625 kB / 0.5878 GB, free: 23.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.3419, allocations: 3.938 kB / 0.5878 GB, free: 23.88 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.0004115/0.3423, allocations: 399.1 kB / 0.5882 GB, free: 23.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.3423, allocations: 10.33 kB / 0.5882 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.3424, allocations: 4.344 kB / 0.5882 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.417e-05/0.3425, allocations: 177.9 kB / 0.5883 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3425, allocations: 5.594 kB / 0.5884 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3425, allocations: 3.062 kB / 0.5884 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.3426, allocations: 53.72 kB / 0.5884 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3426, allocations: 2.562 kB / 0.5884 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.3427, allocations: 4 kB / 0.5884 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3427, allocations: 1.438 kB / 0.5884 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.187e-05/0.3427, allocations: 17.86 kB / 0.5884 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.343, allocations: 273 kB / 0.5887 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.555e-05/0.3431, allocations: 46.47 kB / 0.5887 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.3431, allocations: 26.36 kB / 0.5888 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3432, allocations: 1.156 kB / 0.5888 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.3433, allocations: 99.58 kB / 0.5889 GB, free: 22.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.3433, allocations: 0.7188 kB / 0.5889 GB, free: 22.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002282/0.3435, allocations: 141.4 kB / 0.589 GB, free: 22.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.3436, allocations: 83.86 kB / 0.5891 GB, free: 22.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.3436, allocations: 109.3 kB / 0.5892 GB, free: 22.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.3437, allocations: 27.02 kB / 0.5892 GB, free: 22.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.581e-05/0.3437, allocations: 85.55 kB / 0.5893 GB, free: 22.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.3437, allocations: 28.08 kB / 0.5893 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.3438, allocations: 22.69 kB / 0.5893 GB, free: 22.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.128e-05/0.3438, allocations: 326.2 kB / 0.5896 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.3438, allocations: 11.59 kB / 0.5897 GB, free: 21.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.853e-05/0.3439, allocations: 48.44 kB / 0.5897 GB, free: 21.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.463e-05/0.344, allocations: 111.2 kB / 0.5898 GB, free: 21.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.344, allocations: 0 / 0.5898 GB, free: 21.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001275/0.3441, allocations: 117.3 kB / 0.5899 GB, free: 21.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.3441, allocations: 35.98 kB / 0.59 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3441, allocations: 7.375 kB / 0.59 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3442, allocations: 5.312 kB / 0.59 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.28e-05/0.3442, allocations: 14.34 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.3442, allocations: 1.25 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.3443, allocations: 10.97 kB / 0.59 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.3443, allocations: 2.844 kB / 0.59 GB, free: 21.66 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 6.686e-05/0.3444, allocations: 152.6 kB / 0.5901 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.3444, allocations: 4.312 kB / 0.5901 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.3444, allocations: 10.5 kB / 0.5902 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3444, allocations: 0 / 0.5902 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3444, allocations: 1.781 kB / 0.5902 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3444, allocations: 0.7188 kB / 0.5902 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.3447, allocations: 409.2 kB / 0.5905 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3447, allocations: 1.281 kB / 0.5905 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.3448, allocations: 5.234 kB / 0.5906 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3448, allocations: 0 / 0.5906 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3448, allocations: 5.594 kB / 0.5906 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-06/0.3448, allocations: 1.25 kB / 0.5906 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3448, allocations: 3.938 kB / 0.5906 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.345, allocations: 227.7 kB / 0.5908 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.345, allocations: 83.3 kB / 0.5909 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.345, allocations: 1.375 kB / 0.5909 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.696e-05/0.3451, allocations: 14.17 kB / 0.5909 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3452, allocations: 12.2 kB / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3452, allocations: 7.656 kB / 0.5909 GB, free: 20.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.765e-05/0.3452, allocations: 85.42 kB / 0.591 GB, free: 20.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3452, allocations: 6.312 kB / 0.591 GB, free: 20.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.3454, allocations: 13.44 kB / 0.591 GB, free: 20.7 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 7.487e-05/0.3455, allocations: 105.6 kB / 0.5911 GB, free: 20.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001654/0.3457, allocations: 116.3 kB / 0.5912 GB, free: 20.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3457, allocations: 0 / 0.5912 GB, free: 20.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.446e-05/0.3458, allocations: 90.92 kB / 0.5913 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.346, allocations: 16.09 kB / 0.5913 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.3463, allocations: 141.8 kB / 0.5914 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.462e-05/0.3464, allocations: 0.6895 MB / 0.5921 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.74e-05/0.3465, allocations: 13.33 kB / 0.5921 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.3465, allocations: 7.438 kB / 0.5921 GB, free: 19.53 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3465, allocations: 4 kB / 0.5921 GB, free: 19.53 MB / 446.1 MB Notification: Performance of Templates: time 0.002707/0.3492, allocations: 0.8585 MB / 0.593 GB, free: 18.71 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)