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.001319/0.001319, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.001498/0.001498, allocations: 173.9 kB / 23.21 MB, free: 1.328 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 0.9253/0.9253, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.05261/0.05261, allocations: 12.74 MB / 272.7 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.172e-06/1.172e-06, allocations: 0 / 403.2 MB, free: 8.809 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.48e-05, allocations: 2.281 kB / 403.2 MB, free: 8.805 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.001431/0.001446, allocations: 1.321 MB / 404.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004874/0.001933, allocations: 438.8 kB / 404.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.001958, allocations: 0 / 404.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.001982, allocations: 0 / 404.9 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.002047, allocations: 8 kB / 404.9 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.002163, allocations: 11.86 kB / 404.9 MB, free: 7.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.515e-05/0.002218, allocations: 27.86 kB / 405 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.002255, allocations: 8 kB / 405 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.454e-05/0.00231, allocations: 19.91 kB / 405 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.002358, allocations: 4 kB / 405 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.002378, allocations: 4 kB / 405 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-06/0.002386, allocations: 0 / 405 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.002403, allocations: 7.984 kB / 405 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.002432, allocations: 7.938 kB / 405 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.714e-05/0.002499, allocations: 19.97 kB / 405 MB, free: 6.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002502, allocations: 3.984 kB / 405 MB, free: 6.918 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002503, allocations: 3.938 kB / 405 MB, free: 6.914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.002506, allocations: 0 / 405 MB, free: 6.914 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.0003607/0.002867, allocations: 276.9 kB / 405.3 MB, free: 6.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.0029, allocations: 11.98 kB / 405.3 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.002926, allocations: 0.9375 kB / 405.3 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.477e-05/0.003001, allocations: 113.7 kB / 405.4 MB, free: 6.469 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.003011, allocations: 4.375 kB / 405.4 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.00302, allocations: 384 / 405.4 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.0031, allocations: 42.23 kB / 405.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003107, allocations: 8.172 kB / 405.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.003115, allocations: 384 / 405.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.003121, allocations: 7.938 kB / 405.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.153e-05/0.003152, allocations: 4 kB / 405.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.003253, allocations: 109.2 kB / 405.6 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.831e-05/0.003301, allocations: 30.52 kB / 405.6 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.003323, allocations: 12.98 kB / 405.6 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.00333, allocations: 0 / 405.6 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.516e-05/0.003415, allocations: 59.39 kB / 405.7 MB, free: 6.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 6.82e-07/0.003416, allocations: 0 / 405.7 MB, free: 6.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001322/0.003548, allocations: 65.61 kB / 405.8 MB, free: 6.066 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.003578, allocations: 63.28 kB / 405.8 MB, free: 5.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.489e-05/0.003643, allocations: 113.8 kB / 405.9 MB, free: 5.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.003653, allocations: 25.7 kB / 406 MB, free: 5.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.003677, allocations: 84.14 kB / 406 MB, free: 5.754 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.003692, allocations: 7.953 kB / 406.1 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.003715, allocations: 17.72 kB / 406.1 MB, free: 5.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.003779, allocations: 318.8 kB / 406.4 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.003792, allocations: 4 kB / 406.4 MB, free: 5.398 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.343e-05/0.003816, allocations: 25.7 kB / 406.4 MB, free: 5.367 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.555e-05/0.003881, allocations: 33.66 kB / 406.4 MB, free: 5.328 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.003883, allocations: 4 kB / 406.4 MB, free: 5.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.775e-05/0.00394, allocations: 65.61 kB / 406.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.003951, allocations: 8 kB / 406.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.003955, allocations: 0 / 406.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.003963, allocations: 0 / 406.5 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.281e-05/0.004006, allocations: 7.938 kB / 406.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.00401, allocations: 0 / 406.5 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.004053, allocations: 11.92 kB / 406.5 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004057, allocations: 4 kB / 406.5 MB, free: 5.223 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 7.628e-05/0.004133, allocations: 114.2 kB / 406.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-06/0.004139, allocations: 8.234 kB / 406.7 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.004155, allocations: 3.688 kB / 406.7 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.004159, allocations: 7.984 kB / 406.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.004164, allocations: 7.938 kB / 406.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.004169, allocations: 3.984 kB / 406.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.227e-05/0.004221, allocations: 105.3 kB / 406.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.004221, allocations: 0 / 406.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-06/0.004224, allocations: 0 / 406.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.004225, allocations: 0 / 406.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.004233, allocations: 7.984 kB / 406.8 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.004234, allocations: 3.938 kB / 406.8 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004235, allocations: 4 kB / 406.8 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.508e-05/0.0043, allocations: 81.06 kB / 406.9 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.694e-06/0.004307, allocations: 7.891 kB / 406.9 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.004318, allocations: 3.984 kB / 406.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.222e-05/0.004351, allocations: 11.94 kB / 406.9 MB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.004387, allocations: 11.92 kB / 406.9 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.004391, allocations: 4 kB / 406.9 MB, free: 4.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.004416, allocations: 83.27 kB / 407 MB, free: 4.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004416, allocations: 0 / 407 MB, free: 4.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001221/0.004538, allocations: 8 kB / 407 MB, free: 4.695 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.549e-05/0.004593, allocations: 99.19 kB / 407.1 MB, free: 4.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.004659, allocations: 27.92 kB / 407.1 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.00466, allocations: 0 / 407.1 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.004683, allocations: 8 kB / 407.1 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.004818, allocations: 11.98 kB / 407.2 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002164/0.005034, allocations: 138.5 kB / 407.3 MB, free: 4.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.005069, allocations: 67.28 kB / 407.4 MB, free: 4.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.00509, allocations: 12.5 kB / 407.4 MB, free: 4.277 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005091, allocations: 0 / 407.4 MB, free: 4.277 MB / 330.7 MB Notification: Performance of Templates: time 0.001296/0.006387, allocations: 0.6577 MB / 408 MB, free: 3.625 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 > Bodylight_Bodylight.Blocks.BooleanPulseN.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.476812549866736]