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.0009386/0.0009386, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001511/0.001511, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 0.9132/0.9132, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.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.05026/0.05026, allocations: 12.76 MB / 273.8 MB, free: 112 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=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.122e-06/1.122e-06, allocations: 0 / 348 MB, free: 1.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025e-05/1.137e-05, allocations: 2.312 kB / 348 MB, free: 1.93 MB / 314.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.001795/0.001807, allocations: 1.361 MB / 349.4 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005184/0.002325, allocations: 442.8 kB / 349.8 MB, free: 124 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.002349, allocations: 0 / 349.8 MB, free: 124 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.33e-05/0.002372, allocations: 0 / 349.8 MB, free: 124 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.637e-05/0.002439, allocations: 11.94 kB / 349.8 MB, free: 112 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.746e-05/0.002536, allocations: 3.984 kB / 349.8 MB, free: 108 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.913e-05/0.002585, allocations: 31.84 kB / 349.9 MB, free: 76 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.002619, allocations: 4 kB / 349.9 MB, free: 72 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.002669, allocations: 19.86 kB / 349.9 MB, free: 52 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.993e-05/0.002718, allocations: 11.98 kB / 349.9 MB, free: 40 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.002735, allocations: 4 kB / 349.9 MB, free: 36 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.002741, allocations: 0 / 349.9 MB, free: 36 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.002757, allocations: 0 / 349.9 MB, free: 36 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.002779, allocations: 15.91 kB / 349.9 MB, free: 20 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 5.433e-05/0.002833, allocations: 19.92 kB / 349.9 MB, free: 0 / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002835, allocations: 4.047 kB / 349.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.11e-07/0.002835, allocations: 0 / 349.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002839, allocations: 0 / 349.9 MB, free: 15.99 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.0005579/0.003397, allocations: 368.6 kB / 350.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.00343, allocations: 11.98 kB / 350.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.003454, allocations: 4.938 kB / 350.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.587e-05/0.00352, allocations: 120.5 kB / 350.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.003529, allocations: 384 / 350.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.003536, allocations: 4.375 kB / 350.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.525e-05/0.003591, allocations: 34.25 kB / 350.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003599, allocations: 8.125 kB / 350.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.003604, allocations: 384 / 350.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.00361, allocations: 3.938 kB / 350.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.003629, allocations: 15.92 kB / 350.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.863e-05/0.003707, allocations: 97.3 kB / 350.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.026e-05/0.003748, allocations: 27.06 kB / 350.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.003761, allocations: 11.69 kB / 350.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-06/0.003765, allocations: 0 / 350.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.666e-05/0.003842, allocations: 77.05 kB / 350.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.003843, allocations: 0 / 350.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001133/0.003956, allocations: 57.69 kB / 350.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.003984, allocations: 55.39 kB / 350.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.004044, allocations: 165.8 kB / 351 MB, free: 14.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.004054, allocations: 29.64 kB / 351 MB, free: 14.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.004085, allocations: 134.8 kB / 351.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.004098, allocations: 11.95 kB / 351.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.004121, allocations: 19.38 kB / 351.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.004221, allocations: 0.4923 MB / 351.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.004229, allocations: 3.938 kB / 351.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.004247, allocations: 27.38 kB / 351.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.004284, allocations: 31.36 kB / 351.7 MB, free: 14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.004285, allocations: 0 / 351.7 MB, free: 14 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.211e-05/0.004337, allocations: 57.62 kB / 351.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.004349, allocations: 4 kB / 351.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004353, allocations: 0 / 351.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.004361, allocations: 0 / 351.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.874e-05/0.004399, allocations: 16.36 kB / 351.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.004403, allocations: 3.938 kB / 351.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.004435, allocations: 4 kB / 351.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.004438, allocations: 4 kB / 351.8 MB, free: 13.91 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 8.131e-05/0.004519, allocations: 168.5 kB / 352 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.004527, allocations: 7.953 kB / 352 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.004543, allocations: 11.67 kB / 352 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.004545, allocations: 288 / 352 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.004546, allocations: 0 / 352 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.00455, allocations: 3.938 kB / 352 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.491e-05/0.004605, allocations: 101.2 kB / 352.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.004605, allocations: 0 / 352.1 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-06/0.00461, allocations: 3.984 kB / 352.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.004611, allocations: 0 / 352.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.004616, allocations: 8 kB / 352.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004617, allocations: 0 / 352.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004617, allocations: 0 / 352.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.356e-05/0.004681, allocations: 92.31 kB / 352.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.004689, allocations: 11.94 kB / 352.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.0047, allocations: 0 / 352.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.17e-05/0.004722, allocations: 4 kB / 352.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.004748, allocations: 3.984 kB / 352.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.004752, allocations: 4 kB / 352.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.12e-05/0.004783, allocations: 135.1 kB / 352.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004783, allocations: 0 / 352.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.004893, allocations: 12 kB / 352.4 MB, free: 13.29 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 5.945e-05/0.004952, allocations: 99.12 kB / 352.5 MB, free: 13.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.039e-05/0.005013, allocations: 23.67 kB / 352.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.005014, allocations: 0 / 352.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.005034, allocations: 19.62 kB / 352.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.005157, allocations: 11.98 kB / 352.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.00534, allocations: 114.4 kB / 352.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.503e-05/0.005365, allocations: 51.36 kB / 352.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.676e-05/0.005382, allocations: 8 kB / 352.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/0.005426, allocations: 78.19 kB / 352.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of SimCode: time 4.01e-07/0.005426, allocations: 4 kB / 352.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of Templates: time 0.001743/0.007169, allocations: 0.6745 MB / 353.4 MB, free: 12.16 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: 2.6127670565620065]