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.0006616/0.0006616, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007968/0.001458, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006856/0.0006856, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008142/0.0015, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9683/0.9683, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0802/1.049, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.05868/0.05868, allocations: 12.75 MB / 256.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009976/0.06866, allocations: 4.829 MB / 261.5 MB, free: 13.27 MB / 266.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=1,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.BooleanPulseN") translateModel(Bodylight.Blocks.BooleanPulseN,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.BooleanPulseN") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 262.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.963e-05, allocations: 2.312 kB / 262.9 MB, free: 11.91 MB / 266.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.001741/0.001761, allocations: 1.4 MB / 264.3 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000507/0.002268, allocations: 451.5 kB / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.492e-05/0.002283, allocations: 0 / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.257e-05/0.002295, allocations: 0 / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.746e-05/0.002323, allocations: 11.92 kB / 264.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.485e-05/0.002368, allocations: 19.86 kB / 264.8 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 3.483e-05/0.002402, allocations: 27.86 kB / 264.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.002435, allocations: 0 / 264.8 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6e-05/0.002495, allocations: 15.98 kB / 264.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.002545, allocations: 15.92 kB / 264.8 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.002561, allocations: 4 kB / 264.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.653e-06/0.002567, allocations: 0 / 264.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.002581, allocations: 4 kB / 264.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.002603, allocations: 7.938 kB / 264.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.565e-05/0.002669, allocations: 19.91 kB / 264.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.499e-05/0.002684, allocations: 0 / 264.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.002684, allocations: 0 / 264.9 MB, free: 9.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.002699, allocations: 0 / 264.9 MB, free: 9.922 MB / 266.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.0003744/0.003073, allocations: 248.6 kB / 265.1 MB, free: 9.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.003102, allocations: 16.03 kB / 265.1 MB, free: 9.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.003129, allocations: 4.922 kB / 265.1 MB, free: 9.637 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.334e-05/0.003202, allocations: 105.8 kB / 265.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.003213, allocations: 384 / 265.2 MB, free: 9.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.003221, allocations: 4.375 kB / 265.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.756e-05/0.003289, allocations: 38.23 kB / 265.3 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.003296, allocations: 192 / 265.3 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.003303, allocations: 4.375 kB / 265.3 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.003309, allocations: 3.938 kB / 265.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.00333, allocations: 7.938 kB / 265.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.521e-05/0.003406, allocations: 64.98 kB / 265.3 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.497e-05/0.00345, allocations: 26.61 kB / 265.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.347e-05/0.003464, allocations: 8.859 kB / 265.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-06/0.00347, allocations: 0 / 265.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.003573, allocations: 63.47 kB / 265.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.003574, allocations: 3.938 kB / 265.4 MB, free: 9.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001012/0.003675, allocations: 45.67 kB / 265.5 MB, free: 9.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.003714, allocations: 59.34 kB / 265.6 MB, free: 9.121 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.003769, allocations: 110.6 kB / 265.7 MB, free: 9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.003782, allocations: 29.7 kB / 265.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.056e-05/0.003803, allocations: 80.14 kB / 265.8 MB, free: 8.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.003819, allocations: 11.95 kB / 265.8 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.003852, allocations: 25.69 kB / 265.8 MB, free: 8.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.003919, allocations: 310.8 kB / 266.1 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-06/0.003927, allocations: 4 kB / 266.1 MB, free: 8.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.003946, allocations: 29.62 kB / 266.1 MB, free: 8.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.003985, allocations: 25.7 kB / 266.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003986, allocations: 0 / 266.2 MB, free: 8.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.576e-05/0.004032, allocations: 49.62 kB / 266.2 MB, free: 8.402 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.004042, allocations: 4 kB / 266.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.004046, allocations: 0 / 266.2 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.004054, allocations: 4 kB / 266.2 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.922e-05/0.004093, allocations: 11.98 kB / 266.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004095, allocations: 0 / 266.2 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.004127, allocations: 11.88 kB / 266.2 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.004132, allocations: 4 kB / 266.2 MB, free: 8.367 MB / 266.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 7.886e-05/0.004211, allocations: 114.2 kB / 266.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.00422, allocations: 11.92 kB / 266.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.00424, allocations: 7.688 kB / 266.4 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.004242, allocations: 4 kB / 266.4 MB, free: 8.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.004245, allocations: 8 kB / 266.4 MB, free: 8.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.004249, allocations: 3.938 kB / 266.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.895e-05/0.004298, allocations: 65.89 kB / 266.5 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.004299, allocations: 3.984 kB / 266.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-06/0.004304, allocations: 0 / 266.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.635e-06/0.004311, allocations: 7.953 kB / 266.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004313, allocations: 0 / 266.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.004317, allocations: 0 / 266.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.004317, allocations: 0 / 266.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004318, allocations: 0 / 266.5 MB, free: 8.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.39e-05/0.004372, allocations: 73.05 kB / 266.5 MB, free: 8.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.004383, allocations: 4.328 kB / 266.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.556e-05/0.004409, allocations: 8 kB / 266.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.004437, allocations: 7.922 kB / 266.6 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.00444, allocations: 3.938 kB / 266.6 MB, free: 8.004 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.879e-06/0.00445, allocations: 16.84 kB / 266.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00445, allocations: 0 / 266.6 MB, free: 7.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.254e-05/0.004542, allocations: 4 kB / 266.6 MB, free: 7.98 MB / 266.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 6.349e-05/0.004606, allocations: 76.42 kB / 266.7 MB, free: 7.898 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.646e-05/0.004662, allocations: 28.77 kB / 266.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.004665, allocations: 4 kB / 266.7 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.004687, allocations: 20.78 kB / 266.7 MB, free: 7.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.834e-05/0.004776, allocations: 11.98 kB / 266.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.005076, allocations: 124.5 kB / 266.8 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.601e-05/0.005102, allocations: 55.36 kB / 266.9 MB, free: 7.605 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.939e-05/0.005122, allocations: 4 kB / 266.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.005164, allocations: 55.36 kB / 267 MB, free: 7.547 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.005164, allocations: 0 / 267 MB, free: 7.547 MB / 266.7 MB Notification: Performance of Templates: time 0.001925/0.007089, allocations: 0.6339 MB / 267.6 MB, free: 6.922 MB / 266.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: 2.4307647310197353]