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.002319/0.002319, allocations: 85.48 kB / 19.44 MB, free: 344 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.002055/0.002055, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.652/1.652, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.485/1.485, allocations: 154.8 MB / 414.4 MB, free: 476 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 178] 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.974e-06/1.974e-06, allocations: 0 / 0.5198 GB, free: 2.363 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.483e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.359 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.004355/0.004389, allocations: 1.455 MB / 0.5212 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.005749, allocations: 454.2 kB / 0.5217 GB, free: 480 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.005795, allocations: 0 / 0.5217 GB, free: 480 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.00583, allocations: 3.938 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.005946, allocations: 12.89 kB / 0.5217 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.006153, allocations: 15.92 kB / 0.5217 GB, free: 448 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.006317, allocations: 57.09 kB / 0.5217 GB, free: 392 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.006429, allocations: 11.92 kB / 0.5218 GB, free: 380 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.006558, allocations: 31.91 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.006653, allocations: 12.7 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.006687, allocations: 4 kB / 0.5218 GB, free: 332 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.006706, allocations: 4.5 kB / 0.5218 GB, free: 328 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/0.006737, allocations: 9.156 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.006802, allocations: 19.97 kB / 0.5218 GB, free: 300 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.006966, allocations: 39.83 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.00697, allocations: 0.625 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.006972, allocations: 0 / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.006983, allocations: 5.812 kB / 0.5219 GB, free: 256 kB / 490.7 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.0009628/0.007946, allocations: 417.9 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.007999, allocations: 12.03 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.008069, allocations: 10.61 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.008258, allocations: 112.6 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.008276, allocations: 384 / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.008303, allocations: 12.34 kB / 0.5224 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.008511, allocations: 75.95 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.008523, allocations: 5.562 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.008537, allocations: 384 / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.008546, allocations: 3.938 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.008675, allocations: 54.16 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.009277, allocations: 264.5 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.009466, allocations: 76.75 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.009567, allocations: 54.97 kB / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.009593, allocations: 0 / 0.5229 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.009873, allocations: 140.3 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/0.009876, allocations: 1.344 kB / 0.5231 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0005604/0.01044, allocations: 214.7 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.01053, allocations: 81.11 kB / 0.5233 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.01074, allocations: 173.9 kB / 0.5235 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.01078, allocations: 37.23 kB / 0.5235 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.01089, allocations: 126.9 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.01094, allocations: 27.78 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.962e-05/0.01103, allocations: 39.31 kB / 0.5237 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003553/0.01138, allocations: 0.4884 MB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.01147, allocations: 41.7 kB / 0.5242 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.0116, allocations: 80.14 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.01181, allocations: 126.8 kB / 0.5244 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01181, allocations: 0.5625 kB / 0.5244 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003486/0.01216, allocations: 174.5 kB / 0.5246 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.01221, allocations: 33.7 kB / 0.5246 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01222, allocations: 0 / 0.5246 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.01225, allocations: 2.438 kB / 0.5246 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.01231, allocations: 4 kB / 0.5247 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.01232, allocations: 7.938 kB / 0.5247 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.01241, allocations: 15.94 kB / 0.5247 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.01242, allocations: 0 / 0.5247 GB, free: 13.06 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 0.0002122/0.01263, allocations: 190.3 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.01267, allocations: 14.69 kB / 0.5249 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.01271, allocations: 12.42 kB / 0.5249 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01271, allocations: 4 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01272, allocations: 64 / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.01273, allocations: 4 kB / 0.5249 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007516/0.01348, allocations: 432.7 kB / 0.5253 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01348, allocations: 0 / 0.5253 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.01349, allocations: 1.219 kB / 0.5253 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.0135, allocations: 3.984 kB / 0.5253 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01351, allocations: 4 kB / 0.5253 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01351, allocations: 0.9375 kB / 0.5253 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01352, allocations: 0 / 0.5253 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.01401, allocations: 323.2 kB / 0.5256 GB, free: 12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.01404, allocations: 16.83 kB / 0.5256 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.01408, allocations: 0 / 0.5256 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.01423, allocations: 16.58 kB / 0.5257 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.0143, allocations: 3.984 kB / 0.5257 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.01433, allocations: 8.656 kB / 0.5257 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001254/0.01445, allocations: 135.2 kB / 0.5258 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.01445, allocations: 0.6562 kB / 0.5258 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004196/0.01487, allocations: 13.12 kB / 0.5258 GB, free: 11.81 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 0.0001841/0.01506, allocations: 105.4 kB / 0.5259 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003905/0.01545, allocations: 184.8 kB / 0.5261 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01545, allocations: 4 kB / 0.5261 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.01566, allocations: 120.8 kB / 0.5262 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.01615, allocations: 20.3 kB / 0.5262 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.01673, allocations: 198.8 kB / 0.5264 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.01685, allocations: 71.33 kB / 0.5265 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.01689, allocations: 4 kB / 0.5265 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.01695, allocations: 12.5 kB / 0.5265 GB, free: 11 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.01695, allocations: 0 / 0.5265 GB, free: 11 MB / 0.4948 GB Notification: Performance of Templates: time 0.005773/0.02272, allocations: 0.9383 MB / 0.5274 GB, free: 10.11 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: 6.535371131962165]