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.001175/0.001175, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.00143/0.00143, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8016/0.8016, allocations: 135.1 MB / 426.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 63.91 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4251, allocations: 80.91 MB / 0.5858 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002684/0.4279, allocations: 1.419 MB / 0.5871 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007074/0.4286, allocations: 437.5 kB / 0.5876 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.4287, allocations: 3.938 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.4287, allocations: 6.469 kB / 0.5876 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/0.4288, allocations: 7.922 kB / 0.5876 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.429, allocations: 26.05 kB / 0.5876 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.4291, allocations: 48.16 kB / 0.5876 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.4292, allocations: 8.062 kB / 0.5877 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.834e-05/0.4293, allocations: 30.59 kB / 0.5877 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.4294, allocations: 17.14 kB / 0.5877 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.4294, allocations: 3.969 kB / 0.5877 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.4294, allocations: 3.594 kB / 0.5877 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.4294, allocations: 13.45 kB / 0.5877 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.4295, allocations: 15.16 kB / 0.5877 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.4296, allocations: 43.44 kB / 0.5878 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4296, allocations: 5.5 kB / 0.5878 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4296, allocations: 1.188 kB / 0.5878 GB, free: 23.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.4296, allocations: 0 / 0.5878 GB, free: 23.86 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.0005495/0.4302, allocations: 394.8 kB / 0.5882 GB, free: 23.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4302, allocations: 11.45 kB / 0.5882 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.4303, allocations: 7.453 kB / 0.5882 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.64e-05/0.4304, allocations: 174.9 kB / 0.5883 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4304, allocations: 3.125 kB / 0.5883 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.4304, allocations: 4.156 kB / 0.5884 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.4305, allocations: 61.53 kB / 0.5884 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4305, allocations: 0 / 0.5884 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4306, allocations: 3.156 kB / 0.5884 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.4306, allocations: 1.312 kB / 0.5884 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.197e-05/0.4306, allocations: 12.94 kB / 0.5884 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.431, allocations: 283.4 kB / 0.5887 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.4311, allocations: 36.92 kB / 0.5887 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.4311, allocations: 26.03 kB / 0.5888 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.4311, allocations: 1.219 kB / 0.5888 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.4313, allocations: 99 kB / 0.5889 GB, free: 22.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.4313, allocations: 0.875 kB / 0.5889 GB, free: 22.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002587/0.4315, allocations: 148.6 kB / 0.589 GB, free: 22.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.4316, allocations: 81.08 kB / 0.5891 GB, free: 22.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.563e-05/0.4317, allocations: 108.2 kB / 0.5892 GB, free: 22.42 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4317, allocations: 30.77 kB / 0.5892 GB, free: 22.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.4317, allocations: 87.31 kB / 0.5893 GB, free: 22.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.4317, allocations: 19.84 kB / 0.5893 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.4318, allocations: 33.3 kB / 0.5893 GB, free: 22.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.4318, allocations: 317.8 kB / 0.5896 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.36e-05/0.4319, allocations: 22.08 kB / 0.5897 GB, free: 21.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.4319, allocations: 29.42 kB / 0.5897 GB, free: 21.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.47e-05/0.432, allocations: 120.1 kB / 0.5898 GB, free: 21.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.432, allocations: 0 / 0.5898 GB, free: 21.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001326/0.4321, allocations: 126.3 kB / 0.5899 GB, free: 21.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.4322, allocations: 36.56 kB / 0.59 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.4322, allocations: 1.844 kB / 0.59 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4322, allocations: 1.031 kB / 0.59 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.127e-05/0.4323, allocations: 7.125 kB / 0.59 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4323, allocations: 1.344 kB / 0.59 GB, free: 21.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.98e-05/0.4323, allocations: 14.55 kB / 0.59 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.4324, allocations: 7.281 kB / 0.59 GB, free: 21.64 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 7.681e-05/0.4324, allocations: 150 kB / 0.5901 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.4325, allocations: 3 kB / 0.5901 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.4325, allocations: 5.688 kB / 0.5901 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4325, allocations: 1.188 kB / 0.5901 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4325, allocations: 9.094 kB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4325, allocations: 5.031 kB / 0.5902 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.4328, allocations: 408 kB / 0.5905 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4328, allocations: 3.938 kB / 0.5906 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.065e-06/0.4329, allocations: 3.281 kB / 0.5906 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.4329, allocations: 0 / 0.5906 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4329, allocations: 2.562 kB / 0.5906 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4329, allocations: 0 / 0.5906 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4329, allocations: 5.094 kB / 0.5906 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.4331, allocations: 232.3 kB / 0.5908 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.4331, allocations: 87.59 kB / 0.5909 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.4331, allocations: 6.594 kB / 0.5909 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.669e-05/0.4332, allocations: 5.281 kB / 0.5909 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.4333, allocations: 10.48 kB / 0.5909 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.4333, allocations: 3.938 kB / 0.5909 GB, free: 20.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.4333, allocations: 89.08 kB / 0.591 GB, free: 20.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4333, allocations: 0.5625 kB / 0.591 GB, free: 20.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.4336, allocations: 18.62 kB / 0.591 GB, free: 20.67 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 8.737e-05/0.4337, allocations: 98.5 kB / 0.5911 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.4338, allocations: 117 kB / 0.5912 GB, free: 20.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4339, allocations: 1.094 kB / 0.5912 GB, free: 20.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.446e-05/0.4339, allocations: 93.05 kB / 0.5913 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.4342, allocations: 15.31 kB / 0.5913 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.4345, allocations: 148.5 kB / 0.5914 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.4347, allocations: 0.6903 MB / 0.5921 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.336e-05/0.4347, allocations: 7.781 kB / 0.5921 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.4347, allocations: 7.438 kB / 0.5921 GB, free: 19.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4347, allocations: 4 kB / 0.5921 GB, free: 19.53 MB / 446.1 MB Notification: Performance of Templates: time 0.002747/0.4375, allocations: 0.8602 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)