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.001121/0.001121, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001294/0.001294, allocations: 181 kB / 23.36 MB, free: 1.133 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.9486/0.9486, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.05588/0.05588, allocations: 12.75 MB / 273 MB, free: 160 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.162e-06/1.162e-06, allocations: 0 / 294 MB, free: 11.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.776e-05, allocations: 3.859 kB / 294 MB, free: 11.96 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.001734/0.001752, allocations: 1.352 MB / 295.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000529/0.002281, allocations: 450.5 kB / 295.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.002302, allocations: 0 / 295.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.002323, allocations: 2.109 kB / 295.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.002385, allocations: 5.203 kB / 295.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.002486, allocations: 17.61 kB / 295.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.002534, allocations: 24.38 kB / 295.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.991e-05/0.002564, allocations: 6.094 kB / 295.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.002617, allocations: 18.58 kB / 295.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.125e-05/0.002668, allocations: 19.56 kB / 295.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.002688, allocations: 1.031 kB / 295.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-06/0.002696, allocations: 1.125 kB / 295.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.002713, allocations: 5.969 kB / 295.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.263e-05/0.002735, allocations: 5.609 kB / 295.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.827e-05/0.002794, allocations: 24 kB / 295.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002795, allocations: 0 / 295.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002796, allocations: 0 / 295.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.002799, allocations: 0 / 295.9 MB, free: 10.7 MB / 266.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.0002596/0.003058, allocations: 243.6 kB / 296.1 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.003087, allocations: 17.39 kB / 296.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.003111, allocations: 4.578 kB / 296.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.633e-05/0.003157, allocations: 105.1 kB / 296.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.003166, allocations: 2.234 kB / 296.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.003176, allocations: 2.5 kB / 296.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.384e-05/0.00323, allocations: 36.78 kB / 296.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-06/0.003235, allocations: 192 / 296.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.003242, allocations: 4.094 kB / 296.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.003246, allocations: 7.875 kB / 296.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.003265, allocations: 8.516 kB / 296.3 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.589e-05/0.003321, allocations: 74.53 kB / 296.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.581e-05/0.003357, allocations: 25.52 kB / 296.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.003369, allocations: 7.094 kB / 296.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.003375, allocations: 2.172 kB / 296.4 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.909e-05/0.003444, allocations: 56.67 kB / 296.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.003445, allocations: 0 / 296.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 7.801e-05/0.003523, allocations: 52.53 kB / 296.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.003548, allocations: 53.69 kB / 296.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.809e-05/0.003586, allocations: 112.8 kB / 296.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.003593, allocations: 25.7 kB / 296.7 MB, free: 9.875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.928e-06/0.003603, allocations: 85.81 kB / 296.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.003618, allocations: 10.92 kB / 296.8 MB, free: 9.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.003642, allocations: 20.34 kB / 296.8 MB, free: 9.762 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.652e-05/0.003668, allocations: 314.3 kB / 297.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-06/0.003676, allocations: 3.766 kB / 297.1 MB, free: 9.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.003691, allocations: 20 kB / 297.2 MB, free: 9.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.003731, allocations: 33.91 kB / 297.2 MB, free: 9.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.003733, allocations: 4 kB / 297.2 MB, free: 9.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 4.769e-05/0.00378, allocations: 54.91 kB / 297.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.003791, allocations: 7.031 kB / 297.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.003796, allocations: 6.328 kB / 297.3 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.003804, allocations: 0 / 297.3 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.634e-05/0.003841, allocations: 7.953 kB / 297.3 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.003843, allocations: 0 / 297.3 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.003876, allocations: 14.53 kB / 297.3 MB, free: 9.352 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.00388, allocations: 0.7031 kB / 297.3 MB, free: 9.352 MB / 266.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 5.932e-05/0.003939, allocations: 115.7 kB / 297.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.914e-06/0.003947, allocations: 3.781 kB / 297.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.787e-05/0.003965, allocations: 10.2 kB / 297.4 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.003966, allocations: 4 kB / 297.4 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.003968, allocations: 4.969 kB / 297.4 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.003972, allocations: 4.594 kB / 297.4 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.008e-05/0.004012, allocations: 67.97 kB / 297.5 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.004012, allocations: 0 / 297.5 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-06/0.004015, allocations: 6.094 kB / 297.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.004016, allocations: 0 / 297.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.004019, allocations: 1.656 kB / 297.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.00402, allocations: 0 / 297.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.004021, allocations: 1.547 kB / 297.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.277e-05/0.004063, allocations: 68.12 kB / 297.6 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.004071, allocations: 9.625 kB / 297.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.004083, allocations: 1.812 kB / 297.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.073e-05/0.004104, allocations: 4.844 kB / 297.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.004133, allocations: 9.938 kB / 297.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.004136, allocations: 2.047 kB / 297.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.035e-05/0.004147, allocations: 14.36 kB / 297.6 MB, free: 9.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.004147, allocations: 3.938 kB / 297.6 MB, free: 9.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.338e-05/0.00424, allocations: 6.609 kB / 297.6 MB, free: 9.039 MB / 266.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 4.948e-05/0.00429, allocations: 72.05 kB / 297.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.059e-05/0.00434, allocations: 32.8 kB / 297.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.004342, allocations: 1.25 kB / 297.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.004365, allocations: 20.53 kB / 297.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.502e-05/0.00444, allocations: 8.547 kB / 297.7 MB, free: 8.938 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001673/0.004607, allocations: 114.9 kB / 297.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.729e-05/0.004624, allocations: 55.95 kB / 297.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.657e-05/0.004641, allocations: 3.438 kB / 297.9 MB, free: 8.754 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.004675, allocations: 53.8 kB / 298 MB, free: 8.707 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.004675, allocations: 0 / 298 MB, free: 8.707 MB / 266.7 MB Notification: Performance of Templates: time 0.001879/0.006555, allocations: 0.6246 MB / 298.6 MB, free: 8.637 MB / 266.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.710198162123561]