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.0009203/0.0009203, allocations: 77.14 kB / 20.66 MB, free: 3.832 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.001342/0.001342, allocations: 169 kB / 24.06 MB, free: 444 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.9044/0.9044, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.06201/0.06201, 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 9.62e-07/9.62e-07, allocations: 0 / 348 MB, free: 1.926 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.045e-06/9.007e-06, allocations: 4.703 kB / 348 MB, free: 1.922 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.001403/0.001412, allocations: 1.361 MB / 349.4 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004609/0.001873, allocations: 442.8 kB / 349.8 MB, free: 116 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.681e-05/0.00189, allocations: 0 / 349.8 MB, free: 116 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.001914, allocations: 0 / 349.8 MB, free: 116 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.001967, allocations: 7.938 kB / 349.8 MB, free: 108 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.081e-05/0.002048, allocations: 11.92 kB / 349.8 MB, free: 96 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.224e-05/0.00209, allocations: 31.84 kB / 349.9 MB, free: 64 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.863e-05/0.002118, allocations: 0 / 349.9 MB, free: 64 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.002159, allocations: 19.98 kB / 349.9 MB, free: 44 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.002197, allocations: 7.984 kB / 349.9 MB, free: 36 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.002212, allocations: 0 / 349.9 MB, free: 36 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.002217, allocations: 4 kB / 349.9 MB, free: 32 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.00223, allocations: 7.938 kB / 349.9 MB, free: 24 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.002249, allocations: 7.984 kB / 349.9 MB, free: 16 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.314e-05/0.002312, allocations: 27.95 kB / 349.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.002313, allocations: 0 / 349.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.002314, allocations: 0 / 349.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.855e-06/0.002317, allocations: 0 / 349.9 MB, free: 15.98 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.0002862/0.002603, allocations: 368.6 kB / 350.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.002631, allocations: 11.98 kB / 350.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.002654, allocations: 8.938 kB / 350.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.503e-05/0.00271, allocations: 112.5 kB / 350.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.002718, allocations: 4.375 kB / 350.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-06/0.002723, allocations: 4.203 kB / 350.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.114e-05/0.002775, allocations: 38.23 kB / 350.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.002782, allocations: 192 / 350.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.049e-06/0.002788, allocations: 384 / 350.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.002792, allocations: 7.938 kB / 350.5 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.048e-05/0.002813, allocations: 7.922 kB / 350.5 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.207e-05/0.002895, allocations: 101.3 kB / 350.6 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.00293, allocations: 35.09 kB / 350.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.202e-05/0.002942, allocations: 7.688 kB / 350.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.002947, allocations: 4 kB / 350.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.286e-05/0.00302, allocations: 73.11 kB / 350.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.003021, allocations: 0 / 350.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001003/0.003121, allocations: 53.81 kB / 350.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.003143, allocations: 55.41 kB / 350.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.665e-05/0.0032, allocations: 169.8 kB / 351 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.729e-06/0.003209, allocations: 29.7 kB / 351 MB, free: 14.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.003239, allocations: 130.9 kB / 351.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.003251, allocations: 7.953 kB / 351.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.003275, allocations: 27.36 kB / 351.2 MB, free: 14.58 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.003369, allocations: 496.1 kB / 351.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-06/0.003377, allocations: 4 kB / 351.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.003394, allocations: 23.36 kB / 351.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.003429, allocations: 39.3 kB / 351.7 MB, free: 14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.00343, allocations: 0 / 351.7 MB, free: 14 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.052e-05/0.003481, allocations: 57.61 kB / 351.8 MB, free: 13.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.00349, allocations: 12 kB / 351.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.003493, allocations: 0 / 351.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.003502, allocations: 0 / 351.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.121e-05/0.003534, allocations: 4.375 kB / 351.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.003537, allocations: 4 kB / 351.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.003572, allocations: 15.92 kB / 351.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.003575, allocations: 4 kB / 351.8 MB, free: 13.9 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.201e-05/0.003647, allocations: 160.6 kB / 352 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.584e-06/0.003655, allocations: 3.953 kB / 352 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.561e-05/0.003671, allocations: 15.69 kB / 352 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.003673, allocations: 3.938 kB / 352 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.003674, allocations: 0 / 352 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.003682, allocations: 11.86 kB / 352 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.003693, allocations: 4 kB / 352 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.003712, allocations: 0 / 352 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.003737, allocations: 7.984 kB / 352 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.611e-05/0.003803, allocations: 168.9 kB / 352.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001012/0.003904, allocations: 330.9 kB / 352.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.805e-05/0.003922, allocations: 11.88 kB / 352.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.064e-05/0.003953, allocations: 135.2 kB / 352.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of Backend: time 2.3e-07/0.003953, allocations: 4 kB / 352.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.004136, allocations: 92.89 kB / 352.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of SimCode: time 0.0003356/0.004471, allocations: 0.8337 MB / 353.6 MB, free: 12.03 MB / 330.7 MB Notification: Performance of Templates: time 0.001674/0.006146, allocations: 0.7203 MB / 354.3 MB, free: 11.32 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.529335681349039]