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.0007546/0.0007546, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007469/0.0007469, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8722/0.8722, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6769/0.6769, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.555e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.00186/0.001886, allocations: 1.442 MB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008419/0.002728, allocations: 450.8 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.002763, allocations: 0 / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.002789, allocations: 3.938 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.583e-05/0.002865, allocations: 3.938 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.003018, allocations: 19.92 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.00313, allocations: 55.83 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.265e-05/0.003223, allocations: 4 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.342e-05/0.003296, allocations: 35.91 kB / 0.6212 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.958e-05/0.003356, allocations: 19.86 kB / 0.6213 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.003376, allocations: 4 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.003386, allocations: 4 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.003408, allocations: 4 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.003446, allocations: 27.84 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.003555, allocations: 39.88 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003557, allocations: 0 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003558, allocations: 0 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003562, allocations: 0 / 0.6213 GB, free: 11.09 MB / 0.5886 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.000471/0.004033, allocations: 319.9 kB / 0.6216 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.004068, allocations: 8.031 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.004104, allocations: 8.891 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.668e-05/0.004191, allocations: 121.7 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.004204, allocations: 4.375 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.004213, allocations: 384 / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.004318, allocations: 75.95 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.004328, allocations: 12.11 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.004337, allocations: 384 / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004342, allocations: 7.938 kB / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.411e-05/0.004396, allocations: 45.7 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.004712, allocations: 212.5 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.004788, allocations: 64.27 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.301e-05/0.004821, allocations: 50.69 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.004839, allocations: 0 / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.005003, allocations: 134.7 kB / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.005004, allocations: 0 / 0.6224 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002442/0.005248, allocations: 206.7 kB / 0.6225 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.005293, allocations: 81.11 kB / 0.6226 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.03e-05/0.005353, allocations: 109.8 kB / 0.6227 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.005367, allocations: 37.69 kB / 0.6228 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.005401, allocations: 80.14 kB / 0.6228 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.00542, allocations: 23.8 kB / 0.6229 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.005452, allocations: 29.7 kB / 0.6229 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.005526, allocations: 314.8 kB / 0.6232 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-05/0.005562, allocations: 45.69 kB / 0.6232 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.249e-05/0.005604, allocations: 68.05 kB / 0.6233 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.314e-05/0.005678, allocations: 118 kB / 0.6234 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.00568, allocations: 7.938 kB / 0.6234 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001156/0.005796, allocations: 157 kB / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.005821, allocations: 29.7 kB / 0.6236 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005826, allocations: 0 / 0.6236 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.00584, allocations: 4 kB / 0.6236 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/0.005881, allocations: 4 kB / 0.6236 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.005888, allocations: 11.92 kB / 0.6236 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.005932, allocations: 7.953 kB / 0.6236 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.005937, allocations: 7.938 kB / 0.6236 GB, free: 8.434 MB / 0.5886 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 7.93e-05/0.006017, allocations: 156.1 kB / 0.6238 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.006027, allocations: 7.938 kB / 0.6238 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.006049, allocations: 8.438 kB / 0.6238 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.006051, allocations: 0 / 0.6238 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.006056, allocations: 4.062 kB / 0.6238 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.006061, allocations: 4 kB / 0.6238 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.006334, allocations: 373.5 kB / 0.6242 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.006337, allocations: 4 kB / 0.6242 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-06/0.006341, allocations: 0 / 0.6242 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006343, allocations: 0 / 0.6242 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.006351, allocations: 4 kB / 0.6242 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.006353, allocations: 4 kB / 0.6242 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.006354, allocations: 480 / 0.6242 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.006496, allocations: 258.8 kB / 0.6244 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.006508, allocations: 11.94 kB / 0.6244 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.006521, allocations: 0 / 0.6244 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.006586, allocations: 19.97 kB / 0.6245 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.006622, allocations: 0 / 0.6245 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.006636, allocations: 7.984 kB / 0.6245 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.129e-05/0.006668, allocations: 91.34 kB / 0.6245 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006668, allocations: 4 kB / 0.6246 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001451/0.006813, allocations: 15.94 kB / 0.6246 GB, free: 7.387 MB / 0.5886 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 8.014e-05/0.006893, allocations: 103.2 kB / 0.6247 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.007046, allocations: 162.8 kB / 0.6248 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007047, allocations: 0 / 0.6248 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.287e-05/0.00711, allocations: 117 kB / 0.6249 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.007325, allocations: 17.97 kB / 0.6249 GB, free: 6.945 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.007607, allocations: 200.4 kB / 0.6251 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.876e-05/0.007655, allocations: 79.33 kB / 0.6252 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.007679, allocations: 12.5 kB / 0.6252 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.007679, allocations: 0 / 0.6252 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of Templates: time 0.001668/0.009348, allocations: 0.9105 MB / 0.6261 GB, free: 5.695 MB / 0.5886 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: 4.743232375942171] Failed to read output from testmodel.py, exit status != 0: 0.014761118218302727 0.022143489000000002 0.017039764000000002 Calling exit ...