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.00119/0.00119, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001279/0.001279, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.185/1.185, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 8 kB / 0.507 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2306, allocations: 82.31 MB / 0.5874 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001798/0.2325, allocations: 1.125 MB / 0.5885 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.2333, allocations: 407.4 kB / 0.5889 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.2334, allocations: 0 / 0.5889 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.2334, allocations: 3.938 kB / 0.5889 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.2336, allocations: 7.922 kB / 0.5889 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.2338, allocations: 12 kB / 0.5889 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.565e-05/0.2339, allocations: 47.84 kB / 0.5889 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.234, allocations: 8 kB / 0.5889 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.2341, allocations: 19.84 kB / 0.589 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.473e-05/0.2342, allocations: 19.92 kB / 0.589 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.2342, allocations: 0 / 0.589 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.2342, allocations: 4 kB / 0.589 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.2343, allocations: 0 / 0.589 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.2343, allocations: 37.64 kB / 0.589 GB, free: 1.453 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.465e-05/0.2344, allocations: 27.95 kB / 0.589 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2345, allocations: 4 kB / 0.589 GB, free: 1.422 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2345, allocations: 0 / 0.589 GB, free: 1.422 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2345, allocations: 0 / 0.589 GB, free: 1.422 MB / 494.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.0007/0.2352, allocations: 385.2 kB / 0.5894 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2352, allocations: 12.03 kB / 0.5894 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.2353, allocations: 15.89 kB / 0.5894 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.2355, allocations: 171 kB / 0.5896 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.2355, allocations: 11.98 kB / 0.5896 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2355, allocations: 0 / 0.5896 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.2356, allocations: 49.67 kB / 0.5897 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2357, allocations: 0 / 0.5897 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.2357, allocations: 4 kB / 0.5897 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.2357, allocations: 0 / 0.5897 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.744e-05/0.2358, allocations: 19.94 kB / 0.5897 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.2363, allocations: 276.8 kB / 0.5899 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.2364, allocations: 42.52 kB / 0.59 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.2364, allocations: 28.91 kB / 0.59 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.2365, allocations: 0 / 0.59 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.2367, allocations: 101 kB / 0.5901 GB, free: 152 kB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2367, allocations: 4 kB / 0.5901 GB, free: 148 kB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003259/0.2371, allocations: 139.4 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.2371, allocations: 81.11 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2372, allocations: 121.7 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.2373, allocations: 25.7 kB / 0.5905 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.2373, allocations: 92.12 kB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.2374, allocations: 11.81 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.2374, allocations: 4 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2375, allocations: 318.8 kB / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.2376, allocations: 16 kB / 0.5909 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.935e-05/0.2376, allocations: 38.56 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.2377, allocations: 45.7 kB / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2377, allocations: 0 / 0.591 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001709/0.2379, allocations: 123.2 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.2379, allocations: 37.69 kB / 0.5911 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.2379, allocations: 8 kB / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.238, allocations: 0 / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.238, allocations: 4 kB / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.238, allocations: 0 / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.2381, allocations: 23.94 kB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2381, allocations: 8 kB / 0.5912 GB, free: 14.98 MB / 0.4981 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 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.2382, allocations: 143.5 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.2383, allocations: 7.906 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/0.2383, allocations: 16.36 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2383, allocations: 0 / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2383, allocations: 384 / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2383, allocations: 4 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.2388, allocations: 396.1 kB / 0.5917 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2388, allocations: 0 / 0.5917 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.2388, allocations: 7.938 kB / 0.5917 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2388, allocations: 3.938 kB / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.2388, allocations: 0 / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2388, allocations: 8 kB / 0.5917 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2388, allocations: 3.953 kB / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.2391, allocations: 229.1 kB / 0.5919 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.2391, allocations: 85.09 kB / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.2392, allocations: 0 / 0.592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.2393, allocations: 11.98 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.2393, allocations: 7.938 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.2394, allocations: 19.94 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.2394, allocations: 87.27 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2394, allocations: 0 / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.2396, allocations: 16 kB / 0.5922 GB, free: 13.82 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.2398, allocations: 97.44 kB / 0.5923 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002161/0.24, allocations: 119.3 kB / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.24, allocations: 0 / 0.5924 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.2401, allocations: 95.52 kB / 0.5925 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.2404, allocations: 8 kB / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.2408, allocations: 160.6 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.2411, allocations: 0.6848 MB / 0.5933 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.2412, allocations: 11.94 kB / 0.5933 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.2412, allocations: 11.44 kB / 0.5933 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2412, allocations: 0 / 0.5933 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.003325/0.2445, allocations: 0.7384 MB / 0.594 GB, free: 11.84 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)