Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.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.001093/0.001093, allocations: 81.53 kB / 20.8 MB, free: 3.66 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.0009965/0.0009965, allocations: 169.4 kB / 24.22 MB, free: 244 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 1.024/1.024, allocations: 177.1 MB / 204.7 MB, free: 5.445 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.05643/0.05643, allocations: 12.76 MB / 273.9 MB, free: 120 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.Signals.Components.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") translateModel(Bodylight.Blocks.Signals.Components.ContinuousMeanValue,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 295 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.751e-05, allocations: 3.906 kB / 295 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Blocks.Signals.Components.ContinuousMeanValue): time 0.001875/0.001893, allocations: 0.6541 MB / 295.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001754/0.002068, allocations: 19.62 kB / 295.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.002103, allocations: 0 / 295.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.063e-05/0.002154, allocations: 3.938 kB / 295.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 2.652e-05/0.00218, allocations: 0 / 295.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.002345, allocations: 11.22 kB / 295.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.043e-05/0.002405, allocations: 5.062 kB / 295.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.764e-05/0.002453, allocations: 5.734 kB / 295.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.002495, allocations: 3.828 kB / 295.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.638e-05/0.002561, allocations: 4.688 kB / 295.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.002582, allocations: 1.344 kB / 295.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.002594, allocations: 0 / 295.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.002615, allocations: 1.875 kB / 295.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.00263, allocations: 4.703 kB / 295.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 5.393e-05/0.002684, allocations: 4 kB / 295.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.002687, allocations: 5.188 kB / 295.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.002688, allocations: 0.6094 kB / 295.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.002691, allocations: 0 / 295.7 MB, free: 11.35 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000265/0.002956, allocations: 217.3 kB / 295.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.002995, allocations: 13.52 kB / 296 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.003017, allocations: 3.219 kB / 296 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.574e-05/0.003073, allocations: 107.8 kB / 296.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.003081, allocations: 1.469 kB / 296.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.003096, allocations: 6.969 kB / 296.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.513e-05/0.003141, allocations: 34.83 kB / 296.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-06/0.003145, allocations: 5.188 kB / 296.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.003151, allocations: 2.188 kB / 296.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.003156, allocations: 1.531 kB / 296.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.238e-06/0.003165, allocations: 7.125 kB / 296.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.003292, allocations: 138.6 kB / 296.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.038e-05/0.003323, allocations: 22.19 kB / 296.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.418e-06/0.003332, allocations: 6.359 kB / 296.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-06/0.003338, allocations: 7.922 kB / 296.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.003356, allocations: 36.72 kB / 296.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.003357, allocations: 0 / 296.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 9.617e-05/0.003453, allocations: 37.11 kB / 296.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.003481, allocations: 55.34 kB / 296.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.158e-05/0.003532, allocations: 105.3 kB / 296.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.003539, allocations: 30.2 kB / 296.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.385e-05/0.003563, allocations: 90.88 kB / 296.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-06/0.003569, allocations: 0.6094 kB / 296.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/0.00359, allocations: 13.89 kB / 296.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.003626, allocations: 317.2 kB / 297 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-06/0.003631, allocations: 1.219 kB / 297 MB, free: 10.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.003645, allocations: 18.73 kB / 297 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.003677, allocations: 21.64 kB / 297 MB, free: 10 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003679, allocations: 1.406 kB / 297 MB, free: 10 MB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.473e-05/0.003724, allocations: 41.34 kB / 297.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.003736, allocations: 5.156 kB / 297.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.003741, allocations: 1.094 kB / 297.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.00375, allocations: 1.375 kB / 297.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.003851, allocations: 12.14 kB / 297.1 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.003854, allocations: 4.062 kB / 297.1 MB, free: 9.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.072e-05/0.003865, allocations: 9.172 kB / 297.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.00387, allocations: 1.891 kB / 297.1 MB, free: 9.953 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: output y:VARIABLE(flow=false fixed = true stateSelect=StateSelect.always ) \"Connector of Real output signal\" 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: 1 (reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.643e-05/0.003926, allocations: 113.1 kB / 297.2 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.453e-05/0.003941, allocations: 2.391 kB / 297.2 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.003957, allocations: 7.156 kB / 297.2 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.003959, allocations: 4.641 kB / 297.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.003961, allocations: 1.094 kB / 297.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.003963, allocations: 0 / 297.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.912e-05/0.004022, allocations: 66.12 kB / 297.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.004024, allocations: 1.812 kB / 297.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.004065, allocations: 5.859 kB / 297.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.004066, allocations: 1.438 kB / 297.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.004073, allocations: 0 / 297.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.004074, allocations: 0.7969 kB / 297.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.004075, allocations: 1.5 kB / 297.3 MB, free: 9.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.784e-05/0.004143, allocations: 138.9 kB / 297.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-06/0.004152, allocations: 6.219 kB / 297.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-06/0.004161, allocations: 0.5156 kB / 297.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.004184, allocations: 6.047 kB / 297.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.004195, allocations: 3.938 kB / 297.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.004199, allocations: 1.328 kB / 297.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.355e-05/0.004212, allocations: 8.812 kB / 297.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004212, allocations: 0 / 297.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001111/0.004324, allocations: 6.75 kB / 297.5 MB, free: 9.586 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 6.406e-05/0.004388, allocations: 72 kB / 297.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.7e-05/0.004465, allocations: 11.8 kB / 297.5 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.004468, allocations: 5.469 kB / 297.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.941e-06/0.004474, allocations: 10.3 kB / 297.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.004592, allocations: 3.469 kB / 297.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002685/0.00486, allocations: 124.6 kB / 297.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.541e-05/0.004886, allocations: 54.2 kB / 297.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.857e-05/0.004904, allocations: 1.406 kB / 297.7 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.004933, allocations: 51.03 kB / 297.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.004933, allocations: 0 / 297.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of Templates: time 0.001751/0.006685, allocations: 364.3 kB / 298.1 MB, free: 9.211 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; mkfifo Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe ; head -c 1048576 < Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe >> ../files/Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.sim & ./Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Blocks.Signals.Components.ContinuousMeanValue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7133082430809736]