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.0009449/0.0009449, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001015/0.001015, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.9807/0.9807, allocations: 177.1 MB / 203.7 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.07135/0.07135, allocations: 12.76 MB / 273 MB, free: 108 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.332e-06/1.332e-06, allocations: 0 / 347.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/1.751e-05, allocations: 4.281 kB / 347.2 MB, free: 1.938 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.001644/0.001662, allocations: 1.357 MB / 348.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.002213, allocations: 442.8 kB / 349 MB, free: 136 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.63e-05/0.00224, allocations: 0 / 349 MB, free: 136 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.468e-05/0.002264, allocations: 3.984 kB / 349 MB, free: 132 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.723e-05/0.002331, allocations: 0 / 349 MB, free: 132 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.002441, allocations: 15.92 kB / 349 MB, free: 116 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.238e-05/0.002494, allocations: 31.84 kB / 349.1 MB, free: 84 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.2e-05/0.002526, allocations: 4 kB / 349.1 MB, free: 80 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.002581, allocations: 19.92 kB / 349.1 MB, free: 60 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.002632, allocations: 4 kB / 349.1 MB, free: 56 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.002651, allocations: 0 / 349.1 MB, free: 56 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.00266, allocations: 4 kB / 349.1 MB, free: 52 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.002677, allocations: 3.984 kB / 349.1 MB, free: 48 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.002704, allocations: 11.94 kB / 349.1 MB, free: 36 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.082e-05/0.002775, allocations: 23.84 kB / 349.1 MB, free: 12 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.002777, allocations: 0 / 349.1 MB, free: 12 kB / 314.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.002777, allocations: 0 / 349.1 MB, free: 12 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.002781, allocations: 0 / 349.1 MB, free: 12 kB / 314.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.0003546/0.003136, allocations: 372.6 kB / 349.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.003171, allocations: 15.97 kB / 349.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.003196, allocations: 4.938 kB / 349.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.373e-05/0.003259, allocations: 116.5 kB / 349.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.003269, allocations: 384 / 349.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.003277, allocations: 4.375 kB / 349.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.99e-05/0.003337, allocations: 42.23 kB / 349.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.003344, allocations: 4.172 kB / 349.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.00335, allocations: 384 / 349.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.003356, allocations: 3.938 kB / 349.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.835e-05/0.003374, allocations: 11.94 kB / 349.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.659e-05/0.003471, allocations: 101.2 kB / 349.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.721e-05/0.003508, allocations: 27.06 kB / 349.8 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.003523, allocations: 15.81 kB / 349.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-06/0.003528, allocations: 0 / 349.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.742e-05/0.003605, allocations: 61.05 kB / 349.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 5.52e-07/0.003606, allocations: 0 / 349.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001126/0.003718, allocations: 61.61 kB / 350 MB, free: 15.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.003747, allocations: 51.41 kB / 350 MB, free: 15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.561e-05/0.003812, allocations: 177.8 kB / 350.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.003823, allocations: 37.64 kB / 350.2 MB, free: 14.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.003856, allocations: 130.9 kB / 350.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.00387, allocations: 7.953 kB / 350.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.003899, allocations: 27.36 kB / 350.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.004013, allocations: 496.1 kB / 350.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/0.004021, allocations: 4 kB / 350.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.932e-05/0.00404, allocations: 27.36 kB / 350.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.004076, allocations: 31.31 kB / 350.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004078, allocations: 0 / 350.9 MB, free: 14.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.364e-05/0.004131, allocations: 61.61 kB / 351 MB, free: 13.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.00414, allocations: 8 kB / 351 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004144, allocations: 0 / 351 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.004155, allocations: 0 / 351 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/0.004193, allocations: 8 kB / 351 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.004197, allocations: 3.938 kB / 351 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.004232, allocations: 4 kB / 351 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.004235, allocations: 3.984 kB / 351 MB, free: 13.92 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.491e-05/0.00432, allocations: 164.8 kB / 351.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.004328, allocations: 7.953 kB / 351.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.004348, allocations: 15.67 kB / 351.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.00435, allocations: 3.938 kB / 351.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.004351, allocations: 0 / 351.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.004354, allocations: 3.938 kB / 351.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.663e-05/0.004411, allocations: 97.25 kB / 351.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.004412, allocations: 4 kB / 351.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.655e-06/0.004414, allocations: 0 / 351.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.91e-07/0.004415, allocations: 0 / 351.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-06/0.004419, allocations: 0 / 351.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004419, allocations: 0 / 351.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.00442, allocations: 0 / 351.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.742e-05/0.004487, allocations: 96.36 kB / 351.4 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.004497, allocations: 7.953 kB / 351.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.004508, allocations: 384 / 351.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.004532, allocations: 7.984 kB / 351.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.004558, allocations: 4 kB / 351.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.004565, allocations: 11.98 kB / 351.4 MB, free: 13.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.004597, allocations: 135 kB / 351.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.004597, allocations: 0 / 351.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001139/0.004711, allocations: 4 kB / 351.6 MB, free: 13.3 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 6.212e-05/0.004773, allocations: 103.1 kB / 351.7 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.878e-05/0.004832, allocations: 27.67 kB / 351.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.004833, allocations: 0 / 351.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.905e-05/0.004862, allocations: 23.61 kB / 351.7 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.0001242/0.004986, allocations: 7.984 kB / 351.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001745/0.005161, allocations: 114.4 kB / 351.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.38e-05/0.005185, allocations: 51.36 kB / 351.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.733e-05/0.005202, allocations: 7.984 kB / 351.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.005244, allocations: 70.2 kB / 352 MB, free: 12.84 MB / 330.7 MB Notification: Performance of SimCode: time 3.9e-07/0.005245, allocations: 8 kB / 352 MB, free: 12.83 MB / 330.7 MB Notification: Performance of Templates: time 0.001833/0.007078, allocations: 0.6543 MB / 352.6 MB, free: 12.18 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.775563235860318]