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.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.001314/0.001314, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001518/0.001518, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9465/0.9465, allocations: 177.2 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8739/0.8739, allocations: 154.9 MB / 414.8 MB, free: 412 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") translateModel(IDEAS.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0.5469 kB / 0.5206 GB, free: 1.859 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.43e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.855 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002142/0.002156, allocations: 1.483 MB / 0.5221 GB, free: 396 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006282/0.002784, allocations: 459 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.786e-05/0.002822, allocations: 4 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.108e-05/0.002853, allocations: 3.938 kB / 0.5225 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.872e-05/0.002932, allocations: 13.48 kB / 0.5225 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.00309, allocations: 23.91 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.003204, allocations: 51.8 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.003291, allocations: 7.984 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.564e-05/0.003376, allocations: 27.86 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.003443, allocations: 21.34 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.003465, allocations: 4 kB / 0.5227 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.003476, allocations: 4 kB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.003501, allocations: 12.45 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.003538, allocations: 12 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.003649, allocations: 36.58 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00365, allocations: 0 / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003651, allocations: 1.469 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.003655, allocations: 0 / 0.5227 GB, free: 15.72 MB / 0.4948 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.0004865/0.004142, allocations: 415.6 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.004178, allocations: 8.031 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.004221, allocations: 12.89 kB / 0.5231 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.84e-05/0.00431, allocations: 120.1 kB / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.004322, allocations: 384 / 0.5233 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.004332, allocations: 8.312 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.004434, allocations: 71.95 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.004442, allocations: 192 / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.004453, allocations: 4.375 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.00446, allocations: 3.938 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.004499, allocations: 37.69 kB / 0.5234 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.004809, allocations: 271.7 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.383e-05/0.004883, allocations: 65.27 kB / 0.5237 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/0.004917, allocations: 50.06 kB / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.004931, allocations: 0 / 0.5237 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.005052, allocations: 137.3 kB / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.005053, allocations: 0 / 0.5239 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0002265/0.00528, allocations: 196.1 kB / 0.5241 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.005318, allocations: 77.11 kB / 0.5241 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.394e-05/0.005392, allocations: 173.9 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.005402, allocations: 25.7 kB / 0.5243 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.005447, allocations: 135.6 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.005466, allocations: 19.92 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.005497, allocations: 36.22 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.005598, allocations: 0.4923 MB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.901e-05/0.005627, allocations: 39.34 kB / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.005671, allocations: 72.69 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.812e-05/0.005739, allocations: 110.9 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005741, allocations: 0.6562 kB / 0.5252 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000115/0.005856, allocations: 158 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.005879, allocations: 36.14 kB / 0.5254 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.005885, allocations: 4 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.005897, allocations: 1.406 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/0.005943, allocations: 11.98 kB / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.005947, allocations: 0 / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.005983, allocations: 14.23 kB / 0.5254 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.005989, allocations: 4 kB / 0.5254 GB, free: 12.64 MB / 0.4948 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.525e-05/0.006064, allocations: 190.3 kB / 0.5256 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.006079, allocations: 15.92 kB / 0.5256 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.066e-05/0.006099, allocations: 8.438 kB / 0.5256 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006101, allocations: 2.75 kB / 0.5256 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006105, allocations: 0 / 0.5256 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006108, allocations: 3.938 kB / 0.5256 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.006371, allocations: 420.7 kB / 0.526 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006372, allocations: 7.938 kB / 0.526 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-06/0.006376, allocations: 3.984 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.006378, allocations: 0 / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.006386, allocations: 4 kB / 0.5261 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.006387, allocations: 5.375 kB / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006388, allocations: 0 / 0.5261 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.006534, allocations: 307.2 kB / 0.5264 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.228e-06/0.006543, allocations: 11.94 kB / 0.5264 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.006558, allocations: 0.9375 kB / 0.5264 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.906e-05/0.006607, allocations: 11.94 kB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.006645, allocations: 4.922 kB / 0.5264 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.006657, allocations: 8 kB / 0.5264 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.006692, allocations: 131.8 kB / 0.5265 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006692, allocations: 0 / 0.5265 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001584/0.00685, allocations: 16.97 kB / 0.5265 GB, free: 11.41 MB / 0.4948 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 6.397e-05/0.006914, allocations: 97.84 kB / 0.5266 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001445/0.007059, allocations: 166.4 kB / 0.5268 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.00706, allocations: 0 / 0.5268 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.007123, allocations: 120.8 kB / 0.5269 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.007312, allocations: 15.94 kB / 0.5269 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.007569, allocations: 198.8 kB / 0.5271 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.007603, allocations: 55.36 kB / 0.5272 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.007627, allocations: 7.984 kB / 0.5272 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.007654, allocations: 12.5 kB / 0.5272 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.007654, allocations: 0 / 0.5272 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.002537/0.01019, allocations: 0.9821 MB / 0.5281 GB, free: 9.719 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.830949922092259]