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.001433/0.001433, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.001591/0.001591, allocations: 171.9 kB / 22.46 MB, free: 5.355 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.183/1.183, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.663e-06/1.663e-06, allocations: 0 / 0.6185 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.156e-05/3.322e-05, allocations: 4.812 kB / 0.6185 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.002688/0.002721, allocations: 1.444 MB / 0.62 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.003617, allocations: 442.8 kB / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.068e-05/0.003658, allocations: 0 / 0.6204 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.003691, allocations: 3.984 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.353e-05/0.003784, allocations: 15.88 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.003958, allocations: 19.91 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.004099, allocations: 59.84 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.004187, allocations: 0 / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.004288, allocations: 31.92 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.00436, allocations: 19.89 kB / 0.6205 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.004381, allocations: 4 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.004394, allocations: 4 kB / 0.6205 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.004422, allocations: 8 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.783e-05/0.00447, allocations: 15.92 kB / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.0046, allocations: 51.81 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.004603, allocations: 0 / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004604, allocations: 3.938 kB / 0.6206 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004607, allocations: 4 kB / 0.6206 GB, free: 2.484 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.0006436/0.005251, allocations: 319.9 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.005289, allocations: 8.031 kB / 0.6209 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.005333, allocations: 8.891 kB / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.005455, allocations: 113.8 kB / 0.621 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.005469, allocations: 4.312 kB / 0.621 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.005484, allocations: 4.375 kB / 0.621 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.005642, allocations: 75.95 kB / 0.6211 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.005651, allocations: 4.188 kB / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005662, allocations: 384 / 0.6211 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.005668, allocations: 3.938 kB / 0.6211 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/0.005752, allocations: 53.62 kB / 0.6212 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.006154, allocations: 216.5 kB / 0.6214 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.006276, allocations: 64.27 kB / 0.6214 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.006333, allocations: 42.69 kB / 0.6215 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.00637, allocations: 4 kB / 0.6215 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.0066, allocations: 134.7 kB / 0.6216 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.006601, allocations: 0 / 0.6216 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003571/0.006958, allocations: 206.7 kB / 0.6218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.096e-05/0.007039, allocations: 77.11 kB / 0.6219 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.007143, allocations: 113.8 kB / 0.622 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.007163, allocations: 25.7 kB / 0.622 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.007239, allocations: 92.2 kB / 0.6221 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.007264, allocations: 19.83 kB / 0.6221 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.007313, allocations: 25.72 kB / 0.6222 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.007472, allocations: 318.8 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-05/0.007529, allocations: 45.69 kB / 0.6225 GB, free: 312 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.007618, allocations: 64.27 kB / 0.6226 GB, free: 232 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.007748, allocations: 118.3 kB / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.007749, allocations: 0 / 0.6227 GB, free: 92 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002376/0.007987, allocations: 160.9 kB / 0.6228 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.008028, allocations: 33.7 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.008034, allocations: 3.938 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.008051, allocations: 0 / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.008098, allocations: 4 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.008104, allocations: 0 / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.514e-05/0.008169, allocations: 12.05 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.00818, allocations: 4 kB / 0.6229 GB, free: 15.85 MB / 0.545 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.0001464/0.008326, allocations: 161.3 kB / 0.623 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.008348, allocations: 11.89 kB / 0.623 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.008377, allocations: 4.438 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.008378, allocations: 4 kB / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.008383, allocations: 0 / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008387, allocations: 0 / 0.6231 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.00885, allocations: 377.5 kB / 0.6234 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.008851, allocations: 64 / 0.6234 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.159e-05/0.008863, allocations: 8 kB / 0.6234 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.008869, allocations: 3.984 kB / 0.6234 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.008885, allocations: 8 kB / 0.6234 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008886, allocations: 0 / 0.6234 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008886, allocations: 0 / 0.6234 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002828/0.009169, allocations: 258.8 kB / 0.6237 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.673e-05/0.009186, allocations: 11.94 kB / 0.6237 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.009208, allocations: 4 kB / 0.6237 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.983e-05/0.009308, allocations: 4 kB / 0.6237 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.009362, allocations: 7.984 kB / 0.6237 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.009384, allocations: 12 kB / 0.6237 GB, free: 14.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.419e-05/0.009448, allocations: 83.81 kB / 0.6238 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.009448, allocations: 0 / 0.6238 GB, free: 14.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002374/0.009686, allocations: 20 kB / 0.6238 GB, free: 14.8 MB / 0.545 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.0001139/0.0098, allocations: 95.25 kB / 0.6239 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.01006, allocations: 174.9 kB / 0.6241 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.01006, allocations: 4 kB / 0.6241 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.01018, allocations: 113 kB / 0.6242 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.01049, allocations: 20.05 kB / 0.6242 GB, free: 14.35 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.01088, allocations: 178.5 kB / 0.6244 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.763e-05/0.01096, allocations: 75.23 kB / 0.6244 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.457e-05/0.01098, allocations: 4 kB / 0.6245 GB, free: 14.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.01102, allocations: 16.5 kB / 0.6245 GB, free: 14.02 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.01102, allocations: 0 / 0.6245 GB, free: 14.02 MB / 0.545 GB Notification: Performance of Templates: time 0.003976/0.015, allocations: 0.9164 MB / 0.6254 GB, free: 13.14 MB / 0.545 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: 5.740638833492994] Failed to read output from testmodel.py, exit status != 0: 0.02424004301428795 0.039370575000000005 0.031761654 Calling exit ...