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.001037/0.001037, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002653, allocations: 440 kB / 10.41 MB, free: 284 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.001093/0.001093, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002589, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.96/0.96, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09879/1.059, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.05955/0.05955, allocations: 12.76 MB / 256.9 MB, free: 1.996 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008928/0.06847, allocations: 4.838 MB / 261.7 MB, free: 13.15 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 2.765e-06/2.765e-06, allocations: 0 / 263.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.336e-05/3.613e-05, allocations: 2.312 kB / 263.1 MB, free: 11.78 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.002429/0.002465, allocations: 1.408 MB / 264.5 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006783/0.003143, allocations: 447.5 kB / 264.9 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.00317, allocations: 4 kB / 264.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.00319, allocations: 0 / 264.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.003236, allocations: 15.84 kB / 265 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.688e-05/0.003303, allocations: 15.88 kB / 265 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.999e-05/0.003353, allocations: 31.86 kB / 265 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.946e-05/0.003383, allocations: 0 / 265 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.003446, allocations: 27.97 kB / 265 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.003495, allocations: 7.922 kB / 265 MB, free: 9.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.003512, allocations: 4 kB / 265 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.003518, allocations: 0 / 265 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.003533, allocations: 4 kB / 265.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.913e-05/0.003552, allocations: 4 kB / 265.1 MB, free: 9.801 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.692e-05/0.003619, allocations: 15.92 kB / 265.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.003629, allocations: 0 / 265.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003629, allocations: 0 / 265.1 MB, free: 9.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.003637, allocations: 4 kB / 265.1 MB, free: 9.781 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.0003219/0.003959, allocations: 248.6 kB / 265.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.003988, allocations: 12.03 kB / 265.3 MB, free: 9.504 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.004012, allocations: 4.922 kB / 265.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.466e-05/0.004096, allocations: 105.8 kB / 265.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.00411, allocations: 384 / 265.4 MB, free: 9.371 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.004121, allocations: 8.359 kB / 265.4 MB, free: 9.363 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.097e-05/0.004182, allocations: 46.17 kB / 265.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-06/0.004187, allocations: 192 / 265.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.004194, allocations: 384 / 265.5 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.0042, allocations: 7.938 kB / 265.5 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.004218, allocations: 4 kB / 265.5 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.261e-05/0.004301, allocations: 64.98 kB / 265.6 MB, free: 9.223 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/0.004341, allocations: 18.58 kB / 265.6 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.311e-05/0.004354, allocations: 8.859 kB / 265.6 MB, free: 9.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.00436, allocations: 3.938 kB / 265.6 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.231e-05/0.004453, allocations: 63.52 kB / 265.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 5.61e-07/0.004453, allocations: 0 / 265.7 MB, free: 9.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.613e-05/0.004539, allocations: 41.69 kB / 265.7 MB, free: 9.059 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.004611, allocations: 59.34 kB / 265.8 MB, free: 8.988 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.324e-05/0.004665, allocations: 118.6 kB / 265.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.004676, allocations: 29.7 kB / 265.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.004701, allocations: 84.12 kB / 266 MB, free: 8.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.004721, allocations: 7.953 kB / 266 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.004744, allocations: 21.64 kB / 266 MB, free: 8.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.00482, allocations: 314.8 kB / 266.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.00483, allocations: 8 kB / 266.3 MB, free: 8.379 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.004845, allocations: 17.7 kB / 266.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.53e-05/0.00488, allocations: 25.7 kB / 266.4 MB, free: 8.324 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004882, allocations: 3.938 kB / 266.4 MB, free: 8.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.267e-05/0.004925, allocations: 49.92 kB / 266.4 MB, free: 8.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.004936, allocations: 4 kB / 266.4 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.00494, allocations: 432 / 266.4 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.00495, allocations: 7.984 kB / 266.4 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.854e-05/0.004988, allocations: 11.92 kB / 266.4 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.004992, allocations: 8 kB / 266.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.02e-05/0.005032, allocations: 15.88 kB / 266.5 MB, free: 8.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-06/0.005035, allocations: 0 / 266.5 MB, free: 8.219 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 9.393e-05/0.005129, allocations: 117.8 kB / 266.6 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-06/0.005134, allocations: 4 kB / 266.6 MB, free: 8.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.005155, allocations: 11.69 kB / 266.6 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005157, allocations: 0 / 266.6 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.005158, allocations: 0 / 266.6 MB, free: 8.074 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.005162, allocations: 3.938 kB / 266.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.005281, allocations: 65.89 kB / 266.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005281, allocations: 0 / 266.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-06/0.005285, allocations: 0 / 266.7 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.005291, allocations: 7.953 kB / 266.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-07/0.005292, allocations: 0 / 266.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.005296, allocations: 0 / 266.7 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.005297, allocations: 4 kB / 266.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.005297, allocations: 0 / 266.7 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.236e-05/0.00535, allocations: 76.98 kB / 266.8 MB, free: 7.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.005364, allocations: 4 kB / 266.8 MB, free: 7.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.005384, allocations: 4 kB / 266.8 MB, free: 7.875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.005415, allocations: 3.984 kB / 266.8 MB, free: 7.871 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.005419, allocations: 4 kB / 266.8 MB, free: 7.867 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.225e-05/0.005431, allocations: 16.83 kB / 266.8 MB, free: 7.848 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005431, allocations: 0 / 266.8 MB, free: 7.848 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.987e-05/0.005521, allocations: 8 kB / 266.8 MB, free: 7.84 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.59e-05/0.005587, allocations: 80.36 kB / 266.9 MB, free: 7.754 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.14e-05/0.005648, allocations: 24.78 kB / 266.9 MB, free: 7.727 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.005652, allocations: 4 kB / 266.9 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.00568, allocations: 16.8 kB / 266.9 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.005795, allocations: 71.33 kB / 267 MB, free: 7.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.006128, allocations: 128.5 kB / 267.1 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.757e-05/0.006156, allocations: 55.36 kB / 267.2 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.176e-05/0.006178, allocations: 3.984 kB / 267.2 MB, free: 7.391 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.006227, allocations: 63.38 kB / 267.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of SimCode: time 6.12e-07/0.006228, allocations: 0 / 267.2 MB, free: 7.328 MB / 266.7 MB Notification: Performance of Templates: time 0.001961/0.008189, allocations: 0.6224 MB / 267.9 MB, free: 6.723 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.5175219513475895]