Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.BooleanPulseN.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.002446/0.002446, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.002917/0.002917, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.734/1.734, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.09332/0.09332, allocations: 12.74 MB / 271.9 MB, free: 500 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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(Bodylight.Blocks.BooleanPulseN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.BooleanPulseN") translateModel(Bodylight.Blocks.BooleanPulseN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=0,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.BooleanPulseN") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 403.2 MB, free: 8.02 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.768e-05/3.909e-05, allocations: 6.281 kB / 403.2 MB, free: 8.012 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Blocks.mo:1663:5-1664:39:writable] Warning: Parameter period has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Bodylight.Blocks.BooleanPulseN): time 0.002607/0.002646, allocations: 1.315 MB / 404.5 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.003526, allocations: 442.8 kB / 404.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.003556, allocations: 0 / 404.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.003583, allocations: 0 / 404.9 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.377e-05/0.003657, allocations: 7.875 kB / 404.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.003786, allocations: 15.92 kB / 404.9 MB, free: 6.223 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 7.517e-05/0.003862, allocations: 31.84 kB / 405 MB, free: 6.191 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.003908, allocations: 0 / 405 MB, free: 6.191 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.499e-05/0.003973, allocations: 15.98 kB / 405 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.004029, allocations: 15.92 kB / 405 MB, free: 6.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.004053, allocations: 0 / 405 MB, free: 6.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.004068, allocations: 4 kB / 405 MB, free: 6.156 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.004086, allocations: 3.938 kB / 405 MB, free: 6.152 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.004118, allocations: 8 kB / 405 MB, free: 6.145 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.922e-05/0.004197, allocations: 19.89 kB / 405 MB, free: 6.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.004202, allocations: 8 kB / 405.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004202, allocations: 0 / 405.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.004206, allocations: 0 / 405.1 MB, free: 6.117 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005514/0.004757, allocations: 266.3 kB / 405.3 MB, free: 5.828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.0048, allocations: 15.98 kB / 405.3 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.004841, allocations: 4.922 kB / 405.3 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.004973, allocations: 109.8 kB / 405.4 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.004986, allocations: 384 / 405.4 MB, free: 5.676 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.004998, allocations: 4.375 kB / 405.4 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.0051, allocations: 46.17 kB / 405.5 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.005108, allocations: 4.125 kB / 405.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.005116, allocations: 384 / 405.5 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.005123, allocations: 3.938 kB / 405.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.122e-05/0.005165, allocations: 8 kB / 405.5 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.005323, allocations: 113.2 kB / 405.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.262e-05/0.005396, allocations: 26.72 kB / 405.6 MB, free: 5.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.015e-05/0.005426, allocations: 12.83 kB / 405.7 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.005439, allocations: 4 kB / 405.7 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.005582, allocations: 63.33 kB / 405.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.005583, allocations: 0 / 405.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001953/0.005778, allocations: 61.67 kB / 405.8 MB, free: 5.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.005848, allocations: 59.34 kB / 405.8 MB, free: 5.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.005955, allocations: 105.8 kB / 405.9 MB, free: 5.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.005981, allocations: 29.7 kB / 406 MB, free: 5.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.006034, allocations: 84.14 kB / 406.1 MB, free: 4.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.006055, allocations: 7.953 kB / 406.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.006098, allocations: 25.64 kB / 406.1 MB, free: 4.926 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.006263, allocations: 314.8 kB / 406.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.006289, allocations: 8 kB / 406.4 MB, free: 4.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.753e-05/0.006326, allocations: 25.7 kB / 406.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/0.006415, allocations: 30.09 kB / 406.5 MB, free: 4.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006417, allocations: 0 / 406.5 MB, free: 4.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001038/0.006521, allocations: 61.61 kB / 406.5 MB, free: 4.469 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.006535, allocations: 4 kB / 406.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.006542, allocations: 8 kB / 406.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.006554, allocations: 4 kB / 406.5 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.006614, allocations: 15.88 kB / 406.5 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.006619, allocations: 0 / 406.5 MB, free: 4.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.006688, allocations: 7.984 kB / 406.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.006695, allocations: 4 kB / 406.6 MB, free: 4.426 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: count:DISCRETE(start = 0.0 fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.count,count,$whenCondition1,pulseStart,$PRE.pulseStart,y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0001486/0.006844, allocations: 113.8 kB / 406.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.00686, allocations: 7.953 kB / 406.7 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.006883, allocations: 11.67 kB / 406.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006885, allocations: 0 / 406.7 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.006892, allocations: 3.938 kB / 406.7 MB, free: 4.281 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006895, allocations: 3.938 kB / 406.7 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.007002, allocations: 109.3 kB / 406.8 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.007003, allocations: 0 / 406.8 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.007013, allocations: 3.984 kB / 406.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.007015, allocations: 0 / 406.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.007022, allocations: 0 / 406.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007023, allocations: 0 / 406.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007024, allocations: 288 / 406.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.007155, allocations: 89.05 kB / 406.9 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.559e-05/0.00717, allocations: 11.94 kB / 406.9 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.007187, allocations: 3.938 kB / 406.9 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.00725, allocations: 4 kB / 406.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.583e-05/0.007306, allocations: 11.92 kB / 406.9 MB, free: 4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.00731, allocations: 0 / 406.9 MB, free: 4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.534e-05/0.007376, allocations: 91.27 kB / 407 MB, free: 3.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007376, allocations: 0 / 407 MB, free: 3.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000177/0.007553, allocations: 4 kB / 407 MB, free: 3.906 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,count,y,pulseStart) * Number of discrete states: 1 (count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.000132/0.007685, allocations: 103.2 kB / 407.1 MB, free: 3.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.901e-05/0.007784, allocations: 19.98 kB / 407.1 MB, free: 3.777 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.007785, allocations: 0 / 407.1 MB, free: 3.777 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.007818, allocations: 11.94 kB / 407.2 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.008019, allocations: 10.94 kB / 407.2 MB, free: 3.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003286/0.008348, allocations: 124.7 kB / 407.3 MB, free: 3.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.908e-05/0.008407, allocations: 55.36 kB / 407.3 MB, free: 3.535 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.735e-05/0.008434, allocations: 11.92 kB / 407.3 MB, free: 3.523 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.008463, allocations: 8.5 kB / 407.4 MB, free: 3.516 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.008463, allocations: 4 kB / 407.4 MB, free: 3.512 MB / 330.7 MB Notification: Performance of Templates: time 0.003716/0.01218, allocations: 0.5984 MB / 408 MB, free: 2.922 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.BooleanPulseN.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Blocks.BooleanPulseN.pipe ; mkfifo Bodylight_Bodylight.Blocks.BooleanPulseN.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.BooleanPulseN.pipe >> ../files/Bodylight_Bodylight.Blocks.BooleanPulseN.sim & ./Bodylight_Bodylight.Blocks.BooleanPulseN -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Blocks.BooleanPulseN.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.4631907707080245]