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.001647/0.001647, allocations: 80.75 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.0019/0.0019, 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 1.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.07351/0.07351, allocations: 12.76 MB / 273 MB, free: 164 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.864e-06/1.864e-06, allocations: 0 / 294 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.439e-05, allocations: 6.328 kB / 294 MB, free: 11.86 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.002303/0.002327, allocations: 1.392 MB / 295.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.003049, allocations: 450.7 kB / 295.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.815e-05/0.003077, allocations: 0 / 295.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.003104, allocations: 4.641 kB / 295.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.00319, allocations: 10.78 kB / 295.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.003327, allocations: 13.7 kB / 295.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.003404, allocations: 26.27 kB / 295.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.003446, allocations: 7.781 kB / 295.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.003516, allocations: 14.58 kB / 295.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.003581, allocations: 10.55 kB / 295.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.003599, allocations: 5.375 kB / 295.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-06/0.003607, allocations: 1.5 kB / 295.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.003624, allocations: 6.672 kB / 295.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.003648, allocations: 3.812 kB / 296 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.316e-05/0.003722, allocations: 23.86 kB / 296 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.003725, allocations: 1.375 kB / 296 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.003727, allocations: 0 / 296 MB, free: 10.59 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.00373, allocations: 0 / 296 MB, free: 10.59 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.0003155/0.004046, allocations: 239.4 kB / 296.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.004082, allocations: 13.89 kB / 296.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.004108, allocations: 6.797 kB / 296.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.805e-05/0.004176, allocations: 120.3 kB / 296.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.004187, allocations: 1.531 kB / 296.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.004194, allocations: 2.172 kB / 296.4 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.457e-05/0.004259, allocations: 38.47 kB / 296.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.004266, allocations: 192 / 296.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.004272, allocations: 384 / 296.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.004285, allocations: 5.375 kB / 296.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.097e-05/0.004306, allocations: 5.016 kB / 296.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.035e-05/0.004376, allocations: 60.67 kB / 296.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.693e-05/0.004423, allocations: 37.53 kB / 296.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.004439, allocations: 9.125 kB / 296.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.004447, allocations: 1.562 kB / 296.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.004548, allocations: 56.78 kB / 296.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.004549, allocations: 0 / 296.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001014/0.00465, allocations: 52.58 kB / 296.6 MB, free: 9.973 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.004681, allocations: 57.52 kB / 296.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.533e-05/0.004726, allocations: 115.1 kB / 296.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.004733, allocations: 27.34 kB / 296.8 MB, free: 9.758 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.176e-05/0.004745, allocations: 82.67 kB / 296.9 MB, free: 9.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.004761, allocations: 13.58 kB / 296.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.004787, allocations: 20.11 kB / 296.9 MB, free: 9.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.143e-05/0.004819, allocations: 318.4 kB / 297.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.004828, allocations: 4.141 kB / 297.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.004845, allocations: 16.02 kB / 297.3 MB, free: 9.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.004891, allocations: 28.81 kB / 297.3 MB, free: 9.293 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.004894, allocations: 1.797 kB / 297.3 MB, free: 9.293 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.07e-05/0.004955, allocations: 53.05 kB / 297.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.004967, allocations: 6.172 kB / 297.3 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004972, allocations: 3.938 kB / 297.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.004986, allocations: 6.234 kB / 297.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.669e-05/0.005033, allocations: 8.297 kB / 297.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.005037, allocations: 0.5469 kB / 297.4 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.005081, allocations: 13.16 kB / 297.4 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.005086, allocations: 1.547 kB / 297.4 MB, free: 9.238 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 9.382e-05/0.00518, allocations: 114.6 kB / 297.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.005192, allocations: 4.562 kB / 297.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.588e-05/0.005218, allocations: 5.453 kB / 297.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.00522, allocations: 0 / 297.5 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005224, allocations: 5.922 kB / 297.5 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.005229, allocations: 3.938 kB / 297.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.191e-05/0.005281, allocations: 68.06 kB / 297.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.005283, allocations: 1.219 kB / 297.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-06/0.00529, allocations: 0.6094 kB / 297.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.005293, allocations: 1.641 kB / 297.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.0053, allocations: 4.844 kB / 297.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.005301, allocations: 0.9688 kB / 297.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005303, allocations: 3.938 kB / 297.6 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.391e-05/0.005367, allocations: 68.12 kB / 297.6 MB, free: 8.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.005378, allocations: 7.016 kB / 297.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.005393, allocations: 6.438 kB / 297.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.448e-05/0.005428, allocations: 5.047 kB / 297.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.005465, allocations: 4.938 kB / 297.7 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.00547, allocations: 9.641 kB / 297.7 MB, free: 8.945 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.511e-05/0.005486, allocations: 14.56 kB / 297.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005486, allocations: 0 / 297.7 MB, free: 8.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.871e-05/0.005584, allocations: 6.875 kB / 297.7 MB, free: 8.934 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 7.04e-05/0.005655, allocations: 71.77 kB / 297.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.552e-05/0.00573, allocations: 33.75 kB / 297.8 MB, free: 8.848 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.005733, allocations: 4 kB / 297.8 MB, free: 8.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.717e-05/0.00576, allocations: 16.73 kB / 297.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.005873, allocations: 7.438 kB / 297.8 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.00608, allocations: 115.2 kB / 297.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.861e-05/0.006098, allocations: 63.98 kB / 298 MB, free: 8.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.447e-05/0.006123, allocations: 3.359 kB / 298 MB, free: 8.641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.006164, allocations: 54.55 kB / 298.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.006165, allocations: 1.094 kB / 298.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of Templates: time 0.002472/0.008637, allocations: 0.6211 MB / 298.7 MB, free: 8.527 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Bodylight_Bodylight.Blocks.BooleanPulseN.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.758217108435929]