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.0008624/0.0008624, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001417/0.001417, allocations: 173.3 kB / 23.03 MB, free: 1.547 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 1.096/1.096, allocations: 177.2 MB / 203.4 MB, free: 5.645 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.0657/0.0657, allocations: 12.76 MB / 272.7 MB, free: 292 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 2.705e-06/2.705e-06, allocations: 0 / 346.8 MB, free: 1.176 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.527e-05, allocations: 6.25 kB / 346.8 MB, free: 1.168 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.002162/0.002198, allocations: 1.367 MB / 348.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000752/0.00295, allocations: 446.9 kB / 348.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.002982, allocations: 0 / 348.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.003015, allocations: 0 / 348.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.57e-05/0.003111, allocations: 7.969 kB / 348.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.003267, allocations: 11.94 kB / 348.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.003342, allocations: 27.86 kB / 348.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.003394, allocations: 0 / 348.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.407e-05/0.003468, allocations: 19.92 kB / 348.6 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.003539, allocations: 11.97 kB / 348.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.003564, allocations: 4 kB / 348.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-06/0.003574, allocations: 4 kB / 348.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.003594, allocations: 0 / 348.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.003636, allocations: 15.92 kB / 348.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.003736, allocations: 23.84 kB / 348.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.00374, allocations: 0 / 348.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.003741, allocations: 0 / 348.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.003747, allocations: 0 / 348.7 MB, free: 15.22 MB / 282.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.0005139/0.004261, allocations: 364.6 kB / 349.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.004308, allocations: 11.98 kB / 349.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.004354, allocations: 4.938 kB / 349.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.004468, allocations: 128.5 kB / 349.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.004482, allocations: 384 / 349.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.004492, allocations: 384 / 349.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.27e-05/0.004584, allocations: 38.25 kB / 349.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.004593, allocations: 4.172 kB / 349.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.004605, allocations: 384 / 349.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.004613, allocations: 3.938 kB / 349.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.133e-05/0.004644, allocations: 11.94 kB / 349.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.00478, allocations: 116.6 kB / 349.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.004844, allocations: 31.06 kB / 349.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.004871, allocations: 15.8 kB / 349.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.004879, allocations: 8 kB / 349.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.005019, allocations: 65.05 kB / 349.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.005021, allocations: 0 / 349.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001733/0.005194, allocations: 65.55 kB / 349.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.005239, allocations: 55.34 kB / 349.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.582e-05/0.005325, allocations: 165.9 kB / 349.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.005338, allocations: 25.7 kB / 349.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.005381, allocations: 134.9 kB / 349.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.005399, allocations: 3.953 kB / 349.9 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.005435, allocations: 27.36 kB / 350 MB, free: 13.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.005566, allocations: 0.4923 MB / 350.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/0.005589, allocations: 4 kB / 350.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.042e-05/0.005619, allocations: 23.36 kB / 350.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.891e-05/0.005688, allocations: 43.27 kB / 350.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005691, allocations: 0 / 350.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.002e-05/0.005771, allocations: 61.61 kB / 350.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.005786, allocations: 4 kB / 350.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.005792, allocations: 0 / 350.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.005806, allocations: 384 / 350.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.005873, allocations: 11.94 kB / 350.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.005884, allocations: 4 kB / 350.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.561e-05/0.00594, allocations: 8 kB / 350.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.005945, allocations: 4 kB / 350.6 MB, free: 13.09 MB / 282.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 0.0001345/0.00608, allocations: 160.6 kB / 350.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.006092, allocations: 7.953 kB / 350.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.006119, allocations: 7.688 kB / 350.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.006122, allocations: 0 / 350.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.006127, allocations: 3.938 kB / 350.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.00613, allocations: 7.938 kB / 350.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.389e-05/0.006213, allocations: 120.6 kB / 350.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.006215, allocations: 0 / 350.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.881e-06/0.006221, allocations: 0 / 350.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.006224, allocations: 0 / 350.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.006233, allocations: 288 / 350.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.006234, allocations: 0 / 350.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.006236, allocations: 4 kB / 350.9 MB, free: 12.74 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.006356, allocations: 96.34 kB / 351 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.006372, allocations: 3.953 kB / 351 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.006393, allocations: 0 / 351 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.006436, allocations: 15.92 kB / 351 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.006488, allocations: 15.92 kB / 351.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.006494, allocations: 0 / 351.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.382e-05/0.006538, allocations: 123.2 kB / 351.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006538, allocations: 0 / 351.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001173/0.006656, allocations: 15.94 kB / 351.2 MB, free: 12.45 MB / 282.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 8.608e-05/0.006742, allocations: 95.17 kB / 351.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.727e-05/0.006839, allocations: 31.67 kB / 351.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.006842, allocations: 0 / 351.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.358e-05/0.006875, allocations: 19.62 kB / 351.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/0.007051, allocations: 11.98 kB / 351.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.00734, allocations: 122.2 kB / 351.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.00738, allocations: 59.34 kB / 351.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.473e-05/0.007405, allocations: 0 / 351.5 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.007437, allocations: 16.5 kB / 351.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.007438, allocations: 0 / 351.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of Templates: time 0.002591/0.01003, allocations: 0.6526 MB / 352.2 MB, free: 11.41 MB / 282.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.9439246668480337]