Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001092/0.001092, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001008/0.001008, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7617/0.7617, allocations: 132.2 MB / 423.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3138, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002529/0.3164, allocations: 1.429 MB / 0.5829 GB, free: 26.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006106/0.317, allocations: 438.2 kB / 0.5833 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.3171, allocations: 0 / 0.5833 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.3171, allocations: 9.109 kB / 0.5833 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.3172, allocations: 13.25 kB / 0.5833 GB, free: 26.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.3174, allocations: 20.25 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.3175, allocations: 57.06 kB / 0.5834 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.3176, allocations: 3.844 kB / 0.5834 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.3177, allocations: 23.77 kB / 0.5834 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.596e-05/0.3177, allocations: 23.55 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3178, allocations: 4.25 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.3178, allocations: 3.219 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.3178, allocations: 5.516 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.3179, allocations: 27.27 kB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.318, allocations: 35.7 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.318, allocations: 0 / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.318, allocations: 2.281 kB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.318, allocations: 1.281 kB / 0.5835 GB, free: 26.02 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.0005916/0.3186, allocations: 396 kB / 0.5839 GB, free: 25.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3187, allocations: 10.88 kB / 0.5839 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.3187, allocations: 8.781 kB / 0.5839 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3188, allocations: 176.7 kB / 0.5841 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.3188, allocations: 2.656 kB / 0.5841 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.3189, allocations: 7.156 kB / 0.5841 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.319, allocations: 53.31 kB / 0.5841 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.319, allocations: 0 / 0.5841 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.319, allocations: 3.625 kB / 0.5841 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.319, allocations: 1.406 kB / 0.5841 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.379e-05/0.3191, allocations: 20.98 kB / 0.5842 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.3194, allocations: 272.1 kB / 0.5844 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.281e-05/0.3195, allocations: 42.94 kB / 0.5845 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.3195, allocations: 25.55 kB / 0.5845 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.3196, allocations: 7.141 kB / 0.5845 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.3197, allocations: 102 kB / 0.5846 GB, free: 24.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.894e-06/0.3197, allocations: 1.344 kB / 0.5846 GB, free: 24.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002338/0.3199, allocations: 141.1 kB / 0.5847 GB, free: 24.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.32, allocations: 79.73 kB / 0.5848 GB, free: 24.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.662e-05/0.32, allocations: 115.4 kB / 0.5849 GB, free: 24.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.3201, allocations: 31.08 kB / 0.5849 GB, free: 24.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.3201, allocations: 92 kB / 0.585 GB, free: 24.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.3201, allocations: 14.66 kB / 0.585 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3202, allocations: 23.25 kB / 0.5851 GB, free: 24.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.168e-05/0.3202, allocations: 324.1 kB / 0.5854 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.3202, allocations: 13.94 kB / 0.5854 GB, free: 24.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.3203, allocations: 39.12 kB / 0.5854 GB, free: 24.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/0.3204, allocations: 114.6 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3204, allocations: 1.281 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001256/0.3205, allocations: 126.6 kB / 0.5856 GB, free: 23.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3205, allocations: 37.39 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3205, allocations: 0 / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3206, allocations: 3.984 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.3206, allocations: 7.844 kB / 0.5857 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3206, allocations: 0.9375 kB / 0.5857 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.3207, allocations: 7.062 kB / 0.5857 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3207, allocations: 4.969 kB / 0.5857 GB, free: 23.81 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.805e-05/0.3208, allocations: 151.2 kB / 0.5859 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.3208, allocations: 8.391 kB / 0.5859 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.3208, allocations: 16.25 kB / 0.5859 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3208, allocations: 0 / 0.5859 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3208, allocations: 4.469 kB / 0.5859 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3208, allocations: 5.406 kB / 0.5859 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.3211, allocations: 409.4 kB / 0.5863 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3211, allocations: 0 / 0.5863 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-06/0.3212, allocations: 2.219 kB / 0.5863 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3212, allocations: 0 / 0.5863 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3212, allocations: 3.219 kB / 0.5863 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3212, allocations: 0 / 0.5863 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3212, allocations: 2.344 kB / 0.5863 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.3214, allocations: 237.8 kB / 0.5865 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.3214, allocations: 82.58 kB / 0.5866 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.3214, allocations: 6.359 kB / 0.5866 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3215, allocations: 7.75 kB / 0.5866 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.3216, allocations: 15.55 kB / 0.5866 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3216, allocations: 3.5 kB / 0.5866 GB, free: 22.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.829e-05/0.3216, allocations: 90 kB / 0.5867 GB, free: 22.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3216, allocations: 0 / 0.5867 GB, free: 22.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.3219, allocations: 12.91 kB / 0.5867 GB, free: 22.82 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.053e-05/0.3219, allocations: 101.2 kB / 0.5868 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.3221, allocations: 116.9 kB / 0.5869 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3221, allocations: 0.5 kB / 0.5869 GB, free: 22.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.563e-05/0.3222, allocations: 86.48 kB / 0.587 GB, free: 22.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.3225, allocations: 14.2 kB / 0.587 GB, free: 22.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.3228, allocations: 151.5 kB / 0.5872 GB, free: 22.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3229, allocations: 0.6839 MB / 0.5878 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.545e-05/0.3229, allocations: 11.33 kB / 0.5878 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/0.323, allocations: 15.59 kB / 0.5879 GB, free: 21.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.323, allocations: 0.7812 kB / 0.5879 GB, free: 21.71 MB / 446.1 MB Notification: Performance of Templates: time 0.002774/0.3257, allocations: 0.8589 MB / 0.5887 GB, free: 21.32 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)