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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.878/0.878, allocations: 134 MB / 447.2 MB, free: 10.26 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 62.47 kB / 0.6197 GB, free: 6.789 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.235, allocations: 85.9 MB / 0.7036 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00291/0.238, allocations: 1.457 MB / 0.705 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009808/0.2389, allocations: 486.8 kB / 0.7055 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.239, allocations: 0 / 0.7055 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.239, allocations: 0 / 0.7055 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.2391, allocations: 19.84 kB / 0.7055 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2393, allocations: 15.98 kB / 0.7055 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.2395, allocations: 51.8 kB / 0.7056 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2396, allocations: 4 kB / 0.7056 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.488e-05/0.2396, allocations: 27.92 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.2397, allocations: 19.86 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.2398, allocations: 4 kB / 0.7056 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.2398, allocations: 4 kB / 0.7057 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.2398, allocations: 15.91 kB / 0.7057 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.2399, allocations: 19.88 kB / 0.7057 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.24, allocations: 43.77 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.24, allocations: 0 / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.153e-06/0.24, allocations: 0 / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.24, allocations: 0 / 0.7057 GB, free: 14.79 MB / 0.5294 GB 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.0006796/0.2407, allocations: 327.8 kB / 0.706 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.2407, allocations: 8.031 kB / 0.706 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.2408, allocations: 12.88 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2409, allocations: 110.5 kB / 0.7062 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.2409, allocations: 384 / 0.7062 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.241, allocations: 4.375 kB / 0.7062 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.2411, allocations: 54 kB / 0.7062 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2411, allocations: 7.984 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2411, allocations: 0 / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2411, allocations: 4 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.2412, allocations: 19.92 kB / 0.7063 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004506/0.2416, allocations: 243.9 kB / 0.7065 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.2417, allocations: 34.56 kB / 0.7065 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.2418, allocations: 20.92 kB / 0.7065 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2418, allocations: 11.98 kB / 0.7066 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.242, allocations: 97.03 kB / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.242, allocations: 4 kB / 0.7066 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003187/0.2423, allocations: 143.3 kB / 0.7068 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.2424, allocations: 81.11 kB / 0.7069 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.2425, allocations: 113.9 kB / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.2425, allocations: 25.7 kB / 0.707 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.2426, allocations: 96.12 kB / 0.7071 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.2426, allocations: 19.84 kB / 0.7071 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.2426, allocations: 21.72 kB / 0.7071 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.2428, allocations: 322.8 kB / 0.7074 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.2428, allocations: 12.28 kB / 0.7074 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.361e-05/0.2429, allocations: 42.5 kB / 0.7075 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.243, allocations: 117.9 kB / 0.7076 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.243, allocations: 0 / 0.7076 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00017/0.2432, allocations: 127.3 kB / 0.7077 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.2432, allocations: 29.7 kB / 0.7077 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.2432, allocations: 7.984 kB / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2432, allocations: 0 / 0.7078 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/0.2433, allocations: 8 kB / 0.7078 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2433, allocations: 64 / 0.7078 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.775e-05/0.2434, allocations: 8 kB / 0.7078 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.2434, allocations: 4 kB / 0.7078 GB, free: 12.44 MB / 0.5294 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 (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 0.0001384/0.2435, allocations: 157.6 kB / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.2435, allocations: 7.953 kB / 0.7079 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.2436, allocations: 8.375 kB / 0.7079 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2436, allocations: 0 / 0.7079 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2436, allocations: 4 kB / 0.7079 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2436, allocations: 0 / 0.7079 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.244, allocations: 383.3 kB / 0.7083 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.244, allocations: 0 / 0.7083 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-06/0.244, allocations: 3.938 kB / 0.7083 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.244, allocations: 0 / 0.7083 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.244, allocations: 4 kB / 0.7083 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.244, allocations: 0 / 0.7083 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.244, allocations: 0 / 0.7083 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.2443, allocations: 241.1 kB / 0.7085 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.2443, allocations: 7.953 kB / 0.7086 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2443, allocations: 0 / 0.7086 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.711e-05/0.2444, allocations: 7.984 kB / 0.7086 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.2445, allocations: 15.92 kB / 0.7086 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.2445, allocations: 4 kB / 0.7086 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.661e-05/0.2445, allocations: 91.36 kB / 0.7087 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2445, allocations: 3.938 kB / 0.7087 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002227/0.2448, allocations: 12 kB / 0.7087 GB, free: 11.42 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001132/0.2449, allocations: 105.1 kB / 0.7088 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002014/0.2451, allocations: 107.3 kB / 0.7089 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2451, allocations: 0 / 0.7089 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2452, allocations: 87.33 kB / 0.709 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2455, allocations: 18.67 kB / 0.709 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.2459, allocations: 176.2 kB / 0.7092 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.2462, allocations: 0.7001 MB / 0.7098 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.2462, allocations: 11.44 kB / 0.7098 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.2462, allocations: 0 / 0.7098 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.00287/0.2491, allocations: 0.9051 MB / 0.7107 GB, free: 9.23 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (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 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.617603154852986] Failed to read output from testmodel.py, exit status != 0: 0.25713693001307547 0.272563722 0.029435591 Calling exit ...