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.0006837/0.0006837, allocations: 100.4 kB / 19.7 MB, free: 452 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.0006925/0.0006925, allocations: 212.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8574/0.8574, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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-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 0.7217/0.7217, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009309/0.0009309, allocations: 69.98 kB / 0.7193 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4262, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.BooleanDelay): time 0.001716/0.4279, allocations: 1.449 MB / 0.8204 GB, free: 348 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000523/0.4284, allocations: 444.4 kB / 0.8208 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.4285, allocations: 5.562 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.4285, allocations: 0.75 kB / 0.8208 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.4286, allocations: 12.56 kB / 0.8208 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.4287, allocations: 14.78 kB / 0.8208 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.4288, allocations: 53.77 kB / 0.8209 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.349e-05/0.4289, allocations: 7.391 kB / 0.8209 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.236e-05/0.429, allocations: 27.05 kB / 0.8209 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/0.429, allocations: 21.03 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.4291, allocations: 2.969 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.4291, allocations: 4.375 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.4291, allocations: 9.688 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.4291, allocations: 20.03 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.4292, allocations: 48.23 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4292, allocations: 0 / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4293, allocations: 0.5625 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4293, allocations: 1.125 kB / 0.821 GB, free: 15.93 MB / 0.6198 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.0004251/0.4297, allocations: 321.8 kB / 0.8213 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.4297, allocations: 12.83 kB / 0.8214 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.4297, allocations: 8.891 kB / 0.8214 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.45e-05/0.4298, allocations: 112.9 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.4298, allocations: 4.969 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.4298, allocations: 384 / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.912e-05/0.4299, allocations: 82.77 kB / 0.8216 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.4299, allocations: 0 / 0.8216 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.43, allocations: 0.8125 kB / 0.8216 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.43, allocations: 2.094 kB / 0.8216 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.43, allocations: 50.5 kB / 0.8216 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.4303, allocations: 213.8 kB / 0.8218 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.4304, allocations: 73.55 kB / 0.8219 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.4304, allocations: 50.72 kB / 0.8219 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.4304, allocations: 0 / 0.8219 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.4306, allocations: 127.9 kB / 0.8221 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.4306, allocations: 0 / 0.8221 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002201/0.4308, allocations: 205 kB / 0.8222 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4308, allocations: 81.23 kB / 0.8223 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.151e-05/0.4309, allocations: 108.7 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.4309, allocations: 34.89 kB / 0.8225 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.4309, allocations: 81.61 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.431, allocations: 25.92 kB / 0.8226 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.431, allocations: 28.55 kB / 0.8226 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.4311, allocations: 314.6 kB / 0.8229 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.4311, allocations: 44.56 kB / 0.8229 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.395e-05/0.4311, allocations: 66.67 kB / 0.823 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.107e-05/0.4312, allocations: 112.7 kB / 0.8231 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4312, allocations: 7.875 kB / 0.8231 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001054/0.4313, allocations: 154.8 kB / 0.8233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.4313, allocations: 37.31 kB / 0.8233 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4313, allocations: 0.8438 kB / 0.8233 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4314, allocations: 2.891 kB / 0.8233 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.56e-05/0.4314, allocations: 6.312 kB / 0.8233 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4314, allocations: 2.875 kB / 0.8233 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/0.4314, allocations: 10.59 kB / 0.8233 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4314, allocations: 2.953 kB / 0.8233 GB, free: 13.71 MB / 0.6198 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.775e-05/0.4315, allocations: 157.7 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.4315, allocations: 7.234 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.4315, allocations: 11.48 kB / 0.8235 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4315, allocations: 6.625 kB / 0.8235 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4316, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4316, allocations: 0.5625 kB / 0.8235 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.4318, allocations: 376.2 kB / 0.8239 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4318, allocations: 0.75 kB / 0.8239 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-06/0.4318, allocations: 0 / 0.8239 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4318, allocations: 4.688 kB / 0.8239 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.4318, allocations: 2.469 kB / 0.8239 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4318, allocations: 0.75 kB / 0.8239 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4318, allocations: 0 / 0.8239 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.432, allocations: 272.6 kB / 0.8241 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.432, allocations: 8.562 kB / 0.8241 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.432, allocations: 7.781 kB / 0.8241 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.4321, allocations: 9.094 kB / 0.8241 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.4321, allocations: 5.656 kB / 0.8242 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.4321, allocations: 3.344 kB / 0.8242 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.997e-05/0.4321, allocations: 87.36 kB / 0.8242 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4321, allocations: 0 / 0.8242 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001451/0.4323, allocations: 22.38 kB / 0.8243 GB, free: 12.86 MB / 0.6198 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.82e-05/0.4324, allocations: 105.2 kB / 0.8244 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.4325, allocations: 165.5 kB / 0.8245 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4325, allocations: 3.406 kB / 0.8245 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/0.4326, allocations: 115.3 kB / 0.8246 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.4328, allocations: 19.34 kB / 0.8246 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.433, allocations: 205.9 kB / 0.8248 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.65e-05/0.4331, allocations: 68.69 kB / 0.8249 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.4331, allocations: 19.28 kB / 0.8249 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.4331, allocations: 0 / 0.8249 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.001786/0.4349, allocations: 0.9178 MB / 0.8258 GB, free: 12.16 MB / 0.6198 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: 5.30468375980854] Failed to read output from testmodel.py, exit status != 0: 0.4402466332539916 0.45060238 0.019555404000000002 Calling exit ...