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.001599/0.001599, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001819/0.001819, allocations: 157.6 kB / 22.45 MB, free: 5.375 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.598/1.598, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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-531:190: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-531:198: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.284/1.284, allocations: 154.6 MB / 413.7 MB, free: 5.316 MB / 382.1 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 2.324e-06/2.324e-06, allocations: 0 / 0.6185 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.549e-05/3.781e-05, allocations: 8.375 kB / 0.6185 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.003051/0.003088, allocations: 1.434 MB / 0.6199 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.003998, allocations: 448.3 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.004049, allocations: 0 / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.004081, allocations: 7.922 kB / 0.6203 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.004186, allocations: 15.86 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.00437, allocations: 15.98 kB / 0.6203 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.004518, allocations: 51.78 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.004624, allocations: 7.984 kB / 0.6204 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.004728, allocations: 27.92 kB / 0.6204 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.549e-05/0.004823, allocations: 23.91 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.00485, allocations: 4 kB / 0.6205 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.00486, allocations: 4 kB / 0.6205 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.004896, allocations: 4 kB / 0.6205 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.357e-05/0.004949, allocations: 23.91 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.005085, allocations: 43.89 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005089, allocations: 0 / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.42e-07/0.00509, allocations: 3.938 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.005094, allocations: 0 / 0.6205 GB, free: 2.594 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.0006965/0.00579, allocations: 319.9 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.005831, allocations: 13.47 kB / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.005887, allocations: 12.89 kB / 0.6209 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.006024, allocations: 117.8 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.006043, allocations: 4.375 kB / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.006056, allocations: 8.312 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.006229, allocations: 75.95 kB / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.006241, allocations: 192 / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.006255, allocations: 384 / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.006267, allocations: 7.938 kB / 0.6211 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.006356, allocations: 41.69 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004341/0.00679, allocations: 216.5 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.00691, allocations: 68.2 kB / 0.6214 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.006964, allocations: 42.69 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.006989, allocations: 4 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002469/0.007235, allocations: 138.7 kB / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.007237, allocations: 0 / 0.6215 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003692/0.007606, allocations: 206.7 kB / 0.6217 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.00768, allocations: 81.11 kB / 0.6218 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.007783, allocations: 109.8 kB / 0.6219 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.007804, allocations: 25.7 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.007876, allocations: 96.12 kB / 0.622 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.007901, allocations: 19.84 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.007944, allocations: 21.72 kB / 0.6221 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.00809, allocations: 318.8 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.008151, allocations: 49.69 kB / 0.6224 GB, free: 408 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.596e-05/0.008227, allocations: 68.2 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.008346, allocations: 106 kB / 0.6226 GB, free: 196 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.008347, allocations: 0 / 0.6226 GB, free: 196 kB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002269/0.008574, allocations: 168.9 kB / 0.6228 GB, free: 8 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.008633, allocations: 33.7 kB / 0.6228 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008639, allocations: 3.938 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.008655, allocations: 0 / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.00871, allocations: 7.938 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.008716, allocations: 0 / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.008786, allocations: 15.98 kB / 0.6228 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.008793, allocations: 0 / 0.6228 GB, free: 15.94 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.0001369/0.00893, allocations: 148.5 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.008951, allocations: 15.88 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/0.008994, allocations: 16.47 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.008996, allocations: 0 / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.009002, allocations: 0 / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009005, allocations: 0 / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.009445, allocations: 373.5 kB / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.009446, allocations: 0 / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-06/0.009453, allocations: 0 / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.009458, allocations: 4 kB / 0.6234 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.009469, allocations: 4.438 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.009473, allocations: 3.938 kB / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.009473, allocations: 0 / 0.6234 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.009734, allocations: 270.8 kB / 0.6236 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.009749, allocations: 7.938 kB / 0.6236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.009771, allocations: 4 kB / 0.6236 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.009875, allocations: 4 kB / 0.6236 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.009937, allocations: 11.98 kB / 0.6236 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.00996, allocations: 4 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.529e-05/0.01002, allocations: 91.2 kB / 0.6237 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01003, allocations: 0 / 0.6237 GB, free: 14.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002374/0.01026, allocations: 16 kB / 0.6238 GB, free: 14.89 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.000121/0.01038, allocations: 105.4 kB / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.01062, allocations: 166.7 kB / 0.624 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01062, allocations: 0 / 0.624 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.01073, allocations: 109.9 kB / 0.6241 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.01105, allocations: 19.3 kB / 0.6241 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.01145, allocations: 182.4 kB / 0.6243 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.512e-05/0.01153, allocations: 71.33 kB / 0.6244 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.01155, allocations: 8.125 kB / 0.6244 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.01159, allocations: 12.5 kB / 0.6244 GB, free: 14.13 MB / 0.545 GB Notification: Performance of SimCode: time 5.1e-07/0.01159, allocations: 0 / 0.6244 GB, free: 14.13 MB / 0.545 GB Notification: Performance of Templates: time 0.003926/0.01552, allocations: 0.9188 MB / 0.6253 GB, free: 13.24 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.50489903613925] Failed to read output from testmodel.py, exit status != 0: 0.02475542575120926 0.039427682000000006 0.031254332 Calling exit ...